Closed briochh closed 3 months ago
e.g.
.loc[idx, col]
slice accessor: https://github.com/pandas-dev/pandas/issues/55025. Presumably the internals set the column to np.nan which is then falling short of the impending strict upcasting ban https://pandas.pydata.org/pdeps/0006-ban-upcasting.html when it try to put str
values in there. Results in > "FutureWarning: Setting an item of incompatible dtype is deprecated and will raise in a future error of pandas."df.col[i]
is deprecated. The expectation now is to use df.col.iloc[i]
or presumably, df.col.values[i]
or maybe df.iloc[i].col
(maybe?!)also:
FutureWarning: The argument 'date_parser' is deprecated and will be removed in a future version. So may need a bit of a hack around this...
might be time to unpin this, more pandas deprecation chasing brought in in #485.
A few issues with behaviour of pandas 2.1.0 that causes failed tests and a whole string of Future and Deprecation warnings
Need to assess what actually reflects an impending breakage in how we are using pandas, going forwards and what might be temporary pandas "features" as they move towards pyarrow.