There is this line:
messages.info(null_counts=True)
that causes an error.
For pandas <1.2.0: dataframe.info(null_counts=True)
For pandas >=1.2.0: data_train.info(show_counts=True)
There is this line:
messages.info(null_counts=True)
that causes an error.
For pandas <1.2.0: dataframe.info(null_counts=True)
For pandas >=1.2.0: data_train.info(show_counts=True)