def dividendsDF(date=None, token='', version=''):
    '''

    Args:
        date (datetime): Effective date
        token (string); Access token
        version (string); API version

    Returns:
        DataFrame: result
    '''
    df = pd.DataFrame(dividends(date, token, version))
    _toDatetime(df)
    return df
def dividendsDF ( date = None , token = '' , version = '' ) : df = pd . DataFrame ( dividends ( date , token , version ) ) _toDatetime ( df ) return df
Args:
        date (datetime): Effective date
        token (string); Access token
        version (string); API version

    Returns:
        DataFrame: result