Jan-28-2021, 03:48 AM
HI, I have to take this required coding class and I am trying to follow a youtube video but i keep getting this error. I dont know what I am doing wrong.
I am typing this in:
column_names = [
'x',
'y',
'z',
't'
]
appendMe = pd.read_csv(file, names = column_names, sep='\t')
plt.plot(appendMe.x)
The error I am getting says "TypeError: 'value' must be an instance of str or bytes, not a float" Any help would be appreciated.
Thank you
I am typing this in:
column_names = [
'x',
'y',
'z',
't'
]
appendMe = pd.read_csv(file, names = column_names, sep='\t')
plt.plot(appendMe.x)
The error I am getting says "TypeError: 'value' must be an instance of str or bytes, not a float" Any help would be appreciated.
Thank you