addypy / datagovindia

Python Client for India’s - Open Government Data (OGD) (https://data.gov.in/) platform APIs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dataframe.append has been removed for pandas 2.0

kishlaykumar1995 opened this issue · comments

Dataframe.append has been removed for pandas 2.0 and gives an error. Previous versions also give warnings:

FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead. self.data = self.data.append(df, ignore_index=True)

Can this be updated?

@kishlaykumar1995 For now, I would recommend downgrading pandas if this is critical to you. We're working on the next version of datagovindia with major changes. However the next version is still a few weeks away since I am the sole maintainer.

@kishlaykumar1995
This has been resolved in v1.0.0.