tgherzog / wbgapi

Python module that makes using the World Bank's API a lot easier and more intuitive.
MIT License
140 stars 31 forks source link

economies information in pd.Series() format #27

Closed matteo-ticli closed 1 year ago

matteo-ticli commented 1 year ago

Good evening,

I am trying to pull out information regarding economies using the module economy.Series()

however, I am not able to gather 'region' and 'incomeLevel' that are only available using the module economy.info().

Is there a workaround to this problem? I would like to use for my analysis also the IncomeLevel.

Thank you in advance

tgherzog commented 1 year ago

A pandas Series by definition is only one column. Try economy.DataFrame()