def _earningsToDF(e):
    '''internal'''
    if e:
        df = pd.io.json.json_normalize(e, 'earnings', 'symbol')
        _toDatetime(df)
        _reindex(df, 'EPSReportDate')
    else:
        df = pd.DataFrame()
    return df
def _earningsToDF(e):
    '''internal'''
    if e:
        df = pd.io.json.json_normalize(e, 'earnings', 'symbol')
        _toDatetime(df)
        _reindex(df, 'EPSReportDate')
    else:
        df = pd.DataFrame()
    return df
def _earningsToDF ( e ) : if e : df = pd . io . json . json_normalize ( e , 'earnings' , 'symbol' ) _toDatetime ( df ) _reindex ( df , 'EPSReportDate' ) else : df = pd . DataFrame ( ) return df
internal
internal