【问题标题】:Why does df.info() give the wrong heading?为什么 df.info() 给出错误的标题?
【发布时间】:2020-08-16 19:50:03
【问题描述】:

我使用的数据集是 SOF 调查 2019:https://insights.stackoverflow.com/survey

当我将survey_results_public.csv 文件作为数据框读取并使用df.info() 时,我会得到计数中非空的值,反之亦然。我使用版本1.0.3。这是熊猫的问题吗?

【问题讨论】:

  • @jezrael 请查看Non-NullCount 标头

标签: python pandas csv dataframe google-colaboratory


【解决方案1】:

Non-NullCount 不是单独的列,而是单个 Non-Null Count 列。

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2020-07-23
    • 2013-09-02
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2020-12-24
    • 2021-05-26
    • 1970-01-01
    相关资源
    最近更新 更多