def _statsToDF(s):
    '''internal'''
    if s:
        df = pd.io.json.json_normalize(s)
        _toDatetime(df)
        _reindex(df, 'symbol')
    else:
        df = pd.DataFrame()
    return df
def _statsToDF(s):
    '''internal'''
    if s:
        df = pd.io.json.json_normalize(s)
        _toDatetime(df)
        _reindex(df, 'symbol')
    else:
        df = pd.DataFrame()
    return df
def _statsToDF ( s ) : if s : df = pd . io . json . json_normalize ( s ) _toDatetime ( df ) _reindex ( df , 'symbol' ) else : df = pd . DataFrame ( ) return df
internal
internal