tensorflow / decision-forests

A collection of state-of-the-art algorithms for the training, serving and interpretation of Decision Forest models in Keras.
Apache License 2.0
663 stars 110 forks source link

Pandas FutureWarning #135

Closed alexandre-dang closed 2 years ago

alexandre-dang commented 2 years ago

FutureWarning: In a future version of pandas all arguments of DataFrame.drop except for the argument 'labels' will be keyword-only. in tensorflow_decision_forests/keras/core_inference.py:873 and probably at other places "df = df.drop(label, 1)" should be replaced by "df = df.drop(label, axis=1)"

rstz commented 2 years ago

Hi,

thank you for the report, a fix is on its way!