Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exception :'+00:00' while reading data frame #385

Closed
chrisrana opened this issue Sep 8, 2020 · 1 comment
Closed

Exception :'+00:00' while reading data frame #385

chrisrana opened this issue Sep 8, 2020 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@chrisrana
Copy link

chrisrana commented Sep 8, 2020

Describe the bug
I created data frame with column ingestion_date and value for this source with ```
df['ingestion_date']=pd.to_datetime(datetime.datetime.now(datetime.timezone.utc))
wr.s3.to_parquet(
partition_cols=partition_col,
df=df,
path=s3_write_path,
dataset=True,
sanitize_columns=False
)

so my parquet is created 
then i am trying to  read the parquet using 
`patient_df = wr.s3.read_parquet(full_path, dataset=True)`
It is throwing error '+00:00'

When i print dataframe  parquet data_frame['ingestion_date'] before writing it gives below value.
2020-09-08 04:52:32.916075+00:00

**To Reproduce**
Steps to reproduce the behavior. Also add details about Python and Wrangler's version and how the library was installed.

*P.S. Don't attach files. Please, prefer add code snippets directly in the message body.*

@igorborgest
Copy link
Contributor

Fix released on 1.9.3

igorborgest added a commit that referenced this issue Sep 9, 2020
* supporting wildcard matching

* tweaking type hinting

* removing extra line breaks

* improving return for legibility

* validation shell script changes

* mypy fixes

* further tweaks to type hinting

* Fix bug for read_parquet with offset timezones. #385

Co-authored-by: Nick Miles <nicholasmi@zillowgroup.com>
Co-authored-by: Igor Tavares <igorborgest@gmail.com>
igorborgest added a commit that referenced this issue Sep 9, 2020
* supporting wildcard matching

* tweaking type hinting

* removing extra line breaks

* improving return for legibility

* validation shell script changes

* mypy fixes

* further tweaks to type hinting

* Fix bug for read_parquet with offset timezones. #385

Co-authored-by: Nick Miles <nicholasmi@zillowgroup.com>
Co-authored-by: Igor Tavares <igorborgest@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants