SPARC-FAIR-Codeathon / sparc-me

A python tool to explore, enhance, and expand SPARC datasets and their descriptions
Apache License 2.0
7 stars 6 forks source link

DataFrame.append to be replaced with DataFrame.concat #30

Closed savindi-wijenayaka closed 2 years ago

savindi-wijenayaka commented 2 years ago

Problem

The DataFrame.append function used in the Dataset class is giving the following future warning from Pandas:

FutureWarning:The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead

Suggested solution

Replace DataFrame.append with DataFrame.concat