In order to fix the deprecation warning mentioned in #43 the easiest solution is to replace the applymap() method with map(), which it was renamed to in pandas 2.1.0.
As pandas 2.1.0 requires Python >=3.9, I also adjusted audbcards accordingly as it is a new package and we have switched anyway to Python 3.10, so I see no to continue supporting Python 3.8 here.
This fixes deprecation warnings by:
replacing pandas.DataFrame.applymap() by pandas.DataFrame.map()
Closes #43
In order to fix the deprecation warning mentioned in #43 the easiest solution is to replace the
applymap()
method withmap()
, which it was renamed to inpandas
2.1.0. Aspandas
2.1.0 requires Python >=3.9, I also adjustedaudbcards
accordingly as it is a new package and we have switched anyway to Python 3.10, so I see no to continue supporting Python 3.8 here.This fixes deprecation warnings by:
pandas.DataFrame.applymap()
bypandas.DataFrame.map()
np.median
on an empty list