AttributeError: 'DataFrame' object has no attribute 'convert_dtypes'

Hi, I am trying to use the API rdp.get_snapshot() on jupyter notebook (with Python 3.6.10, pandas 1.1.3 and refinitiv-dataplatform 1.0.0a6) but it has returned

AttributeError: 'DataFrame' object has no attribute 'convert_dtypes'

Does anyone have a clue? Thanks.


Here is my code:

import refinitiv.dataplatform as rdp

import pandas as pd

APP_KEY = ''

RDP_LOGIN = ''

RDP_PASSWORD = ''

GRANT = rdp.GrantPassword(username=RDP_LOGIN, password=RDP_PASSWORD)

session = rdp.open_platform_session(APP_KEY, GRANT)

snap = rdp.get_snapshot(['EUR='],['BID'])


image

image

Best Answer

Answers