CLN: removed setter method of categorical's ordered attribute by gfyoung · Pull Request #13671 · pandas-dev/pandas (original) (raw)
thanks!
side note, can you catch these warnings (prob need to fix code to not have them emitted).
[Mon Jul 18 21:44:13 ~/pandas]$ nosetests pandas/tests/test_categorical.py
........................................................../Users/jreback/pandas/pandas/core/internals.py:1493: FutureWarning: reshape is deprecated and will raise in a subsequent release. Please use .values.reshape(...) instead
mask = mask.reshape(new_values.shape)
....................................................../Users/jreback/pandas/pandas/tests/test_categorical.py:4125: FutureWarning:
Setting NaNs in `categories` is deprecated and will be removed in a future version of pandas.
cat_exp = Categorical(["a", "b", "a"], categories=["a", "b", np.nan])
....................../Users/jreback/pandas/pandas/indexes/category.py:130: FutureWarning:
Setting NaNs in `categories` is deprecated and will be removed in a future version of pandas.
data = data.set_categories(categories)
.
----------------------------------------------------------------------
Ran 135 tests in 1.215s
OK