I have a CSV file with lines as follows:
"Dec 30, 2021","1,234.11","1,654.22","11,876.23","1,676,234"
I have learn from a previous post that I can use:
parse_dates=['Date']
To get the date parsed (that works). However I would like columns 2-4 as np.float64 and column 5 as int64. How can I achieve that?
I have tried this:
data = pd.read_csv("file.csv", parse_dates=['Date'], dtype=[np.datetime64, np.float64, np.float64, np.float64, np.float64, np.int64])
but I get
TypeError: data type not understood