-
-
Notifications
You must be signed in to change notification settings - Fork 18.7k
Closed
Labels
Dtype ConversionsUnexpected or buggy dtype conversionsUnexpected or buggy dtype conversionsSparseSparse Data TypeSparse Data Type
Description
>>> pd.SparseSeries([False, True], dtype=bool)[[0, 1]]
0 0.0
1 1.0
dtype: float64
BlockIndex
Block locations: array([1], dtype=int32)
Block lengths: array([1], dtype=int32)
Expected output
0 False
1 True
dtype: bool
BlockIndex
Block locations: array([1], dtype=int32)
Block lengths: array([1], dtype=int32)
Output of pd.versions()
pandas: 0.18.1
should alone be relevant.
Apologies I've not checked if this is fixed by #13849 or elsewhere. Just passing on issues from
scikit-learn/scikit-learn#7352.
Metadata
Metadata
Assignees
Labels
Dtype ConversionsUnexpected or buggy dtype conversionsUnexpected or buggy dtype conversionsSparseSparse Data TypeSparse Data Type