linqs / psl

The PSL software from the University of Maryland and the University of California Santa Cruz
http://psl.linqs.org
Apache License 2.0
296 stars 100 forks source link

Change DataFrame.append (deprecated) to Pandas.concat #331

Closed binh-vu closed 2 years ago

binh-vu commented 2 years ago

Pandas deprecates DataFrame.append since version 1.4.0. This updates will make the annoying FutureWarning goes away every time new data is added to the model.

eriq-augustine commented 2 years ago

Good change, but we already have this in our develop branch. https://github.com/linqs/psl/blob/develop/psl-python/pslpython/predicate.py#L169= We have some things what we want to get in to develop before we do a release (and merge develop into master).