I found this error while coding:
FileNotFoundError: [Errno 2] No such file or directory: 'us_baby_names'
please how can I fix this?
Us_baby_names is the name of my dataset file.
I have tried moving the file using the
mv dataset function
And also
Specifying the path of the file as
data = of.read_csv("/path/to/dataset", encoding="ISO-8859-1")
and I got a
SyntaxError: (Unicode error) 'codec can't decide bytes in position 3-4: truncated
Try adding to your
read_csv
function: