Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

更新 pandas.md。对高版本Pandas库适配 #1331

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 6, 2024

  1. 更新 pandas.md。对高版本Pandas库适配

    由于旧版Pandas库在对inputs执行mean()方法时,会跳过不可计算的类型,从而忽略报错直接计算出数据;而高版本pandas库会对数据类型进行严格检查,从而触发报错“TypeError: can only concatenate str (not "int") to str”。修正后的代码将对数据类型进行筛选并计算,规避报错内容
    yssickjgd committed Mar 6, 2024
    Configuration menu
    Copy the full SHA
    7cef2a1 View commit details
    Browse the repository at this point in the history