Pandas read csv Custom Date Format
Jump to navigation
Jump to search
Internal
Overview
A CSV column can be parsed as date with:
df = pd.read_csv("./timeseries.csv", parse_dates=["date"])
This assumes a "2023-10-31" format. If the string format is different there are several options: