Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
BUG or DOC: pd.read_csv with parse_dates does not recognize timezone #22256
When parsing a timezone-aware datetime in a csv file with
Consider we are reading the following data. Let's say its name is
I want to read it with
import pandas as pd df = pd.read_csv('pandas_read_csv_bug.csv', parse_dates=['dt'])
However, the result is a data frame
My surprise was,
My first impression was that it shouldn't be the best possible behavior.
On master, if
I think we use
On that note, what should be the expected behavior?
This change fixed this issue specifically but not sure how it will affect other tests.
@mroeschke Thanks for pointing