简体   繁体   中英

How to read a specific column of a csv file which has space in Ipython

我已经尝试过File.Column Name, File.Column/Name和File。“ Column Name”

我假设您使用的是熊猫数据框,如果是这样,请使用:

df['Column Name']

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM