data frame

Chris Angelico rosuav at gmail.com
Fri Dec 23 15:53:31 EST 2016


On Sat, Dec 24, 2016 at 7:39 AM, Val Krem via Python-list
<python-list at python.org> wrote:
> a= pd.read_csv("s1.csv")
> File "pandas/src/hashtable_class_helper.pxi", line 740, in pandas.hashtable.PyObjectHashTable.get_item (pandas/hashtable.c:13107)
> KeyError: 'w1'
>
> Can someone help me what the problem is?

Can you post the first line of the CSV file? Maybe it isn't 'w1' exactly.

ChrisA


More information about the Python-list mailing list