-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
BUG/API: Index/Series concat inconsistencies #13626
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
Comments
I think this mostly has to do with pre-concat coercion in |
@jreback maybe my wording was misleading. Prepared a draft PR #13660 to show my intention. You're correct that the changes are mostly on BTW, I found 2 more issues, fixing in the same PR. 1.
|
@sinhrks actually was tinkin about the appending logic in DataFrame (which coerces Series to the proper shape), but yes Index appending seems not well tested / working. In fact this generated lots of weird cases in indexing. |
#13660 has been almost finished, found following 2 more bugs: 3. name is not properly reset when mismatchbeing fixed.
4. Categorical concat inconsistencyrelated to #13524. I've marked inconsistent points as "??" (including the difference of raised error) Series
Index
|
xref #7795 #13221. Series/Index concat-like op which triggers object-coercion is not well tested. Followings are needed:
concat
internal to make it consistent / stabled.Code Sample, a copy-pastable example if possible
Found some problems below:
Expected Output
Timestamp
andTimedelta
(notdatetime
andtimedelta
)output of
pd.show_versions()
0.18.1
The text was updated successfully, but these errors were encountered: