At least one problem is that the applymap method is gone in pandas v3. This is the deprecation warning given by pandas: >FutureWarning: DataFrame.applymap has been deprecated. Use DataFrame.map instead.