Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23218

Column not found in dataset even though it exists in the CSV file?

$
0
0

I've been trying to process some data from a csv file which contains a number of columns, a 'Date' column among them which keeps producing an error. I know it certainly exists in the CSV file, but I keep getting the error message:

'ValueError: Column 'Date' not found in the dataset.'

enter image description here

Found a suggestion online to fix the date format in the CSV file to 'YYYY-MM-DD', but after I try to save the CSV, it keeps resetting back to the default DD-MM-YYYY format. I'm out of options to try, please, help.


Viewing all articles
Browse latest Browse all 23218

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>