ing-bank / EntityMatchingModel

Entity Matching Model solves the problem of matching company names between two possibly very large datasets.
https://entitymatchingmodel.readthedocs.io/en/latest/
MIT License
52 stars 4 forks source link

np.array_split on pd.Series causing unavoidable deprecation warnings for Series.swapaxes #9

Closed Rick-OConnor closed 6 months ago

Rick-OConnor commented 6 months ago

As reported in this issue on from numpy, the use of np.array_split on a pandas object results in an unavoidable

FutureWarning: 'Series.swapaxes' is deprecated and will be removed in a future version. Please use 'Series.transpose' instead.

This reply in the issue thread suggest an alternative solution to np.array_split, relying on iloc instead.

mbaak commented 6 months ago

Thanks, I'll update this in the next patch release.

mbaak commented 6 months ago

Resolved with v2.1.0.