A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/pandas-dev/pandas/issues/11473 below:

to_json segfaults with timezone-aware datetimes · Issue #11473 · pandas-dev/pandas · GitHub

>>> import pandas as pd; import pytz; import datetime; faulthandler
>>> faulthandler.enable()
>>> pd.DataFrame.from_records([{'ts': datetime.datetime(2015,1,1, tzinfo=pytz.UTC)}]).to_json()

Fatal Python error: Segmentation fault

Current thread 0x00007fff73afd300 (most recent call first):
  File "<snip>lib/python2.7/site-packages/pandas/io/json.py", line 78 in write
  File "<snip>lib/python2.7/site-packages/pandas/io/json.py", line 35 in to_json
  File "<snip>lib/python2.7/site-packages/pandas/core/generic.py", line 893 in to_json
  File "<stdin>", line 1 in <module>
Segmentation fault: 11

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4