【问题标题】:How to read a specific column of a csv file which has space in Ipython如何读取在 Ipython 中有空间的 csv 文件的特定列
【发布时间】:2015-11-29 03:31:26
【问题描述】:

我已经尝试过File.Column Name、File.Column/Name 和 File."Column Name"

【问题讨论】:

标签: python csv ipython jupyter


【解决方案1】:

我假设您使用的是 pandas 数据框,如果是这种情况,请使用:

df['Column Name']

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2019-10-14
    • 2020-08-28
    • 2015-10-25
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多