Skip to content

Instantly share code, notes, and snippets.

@ycui1
Created November 5, 2021 01:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ycui1/495bc69fbd803d12b5f43795884f98e0 to your computer and use it in GitHub Desktop.
Save ycui1/495bc69fbd803d12b5f43795884f98e0 to your computer and use it in GitHub Desktop.
>>> pd.read_csv("custom_dt_fmt.csv", parse_dates=["date"], infer_datetime_format=True)
date category balance
0 Jan_01_2022 A 100
1 Feb_02_2022 B 200
2 Mar_12_2022 C 300
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment