-  
-   Notifications  You must be signed in to change notification settings 
- Fork 19.2k
Closed
Labels
CategoricalCategorical Data TypeCategorical Data TypeIO JSONread_json, to_json, json_normalizeread_json, to_json, json_normalize
Milestone
Description
This code from the Categorical tutorial:
df = pd.DataFrame({"A":["a","b","c","a"]}) df["B"] = df["A"].astype('category')Will segfault when df.to_json is called. Tested on:
Python 3.4.3 |Anaconda 2.3.0 (x86_64)| (default, Mar 6 2015, 12:07:41) [GCC 4.2.1 (Apple Inc. build 5577)] on darwin $ conda list | grep pandas pandas 0.16.2 np19py34_0Metadata
Metadata
Assignees
Labels
CategoricalCategorical Data TypeCategorical Data TypeIO JSONread_json, to_json, json_normalizeread_json, to_json, json_normalize