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
BUG: Unexpected behavior when assigning multi-dimensional array to DataFrame column #40827
Open
2 tasks done
Labels
Bug
Error Reporting
Incorrect or improved errors from pandas
Indexing
Related to indexing on series/frames, not to indexes themselves
Comments
Socob
added
Needs Triage
Issue that has not been reviewed by a pandas team member
Usage Question
labels
Apr 7, 2021
Yeah this is a bug, would agree with anerror here |
phofl
added
Bug
Indexing
Related to indexing on series/frames, not to indexes themselves
and removed
Needs Triage
Issue that has not been reviewed by a pandas team member
Usage Question
labels
Apr 7, 2021
phofl
changed the title
QST: Unexpected behavior when assigning multi-dimensional array to DataFrame column
BUG: Unexpected behavior when assigning multi-dimensional array to DataFrame column
Apr 7, 2021
take |
Mxchaeltrxn
added a commit
to Mxchaeltrxn/pandas
that referenced
this issue
Apr 17, 2021
References this issue on Github: pandas-dev#40827
Mxchaeltrxn
added a commit
to Mxchaeltrxn/pandas
that referenced
this issue
Apr 17, 2021
References this issue on Github: pandas-dev#40827
Mxchaeltrxn
added a commit
to Mxchaeltrxn/pandas
that referenced
this issue
Apr 17, 2021
References this issue on Github: pandas-dev#40827
Mxchaeltrxn
added a commit
to Mxchaeltrxn/pandas
that referenced
this issue
Apr 17, 2021
References this issue on Github: pandas-dev#40827
Mxchaeltrxn
added a commit
to Mxchaeltrxn/pandas
that referenced
this issue
Apr 17, 2021
References this issue on Github: pandas-dev#40827
3 tasks
3 tasks
5 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Bug
Error Reporting
Incorrect or improved errors from pandas
Indexing
Related to indexing on series/frames, not to indexes themselves
I have searched the [pandas] tag on StackOverflow for similar questions.
I have asked my usage related question on StackOverflow.
Question about pandas
My question is essentially the same as the StackOverflow question “Unexpected behavior in assigning 2d numpy array to pandas DataFrame”, which, although it has an accepted answer, states in an edit to the question text:
I agree, and still don’t understand the behavior described in the question, which I will restate here:
Given the following code:
which results in (e.g.)
The text was updated successfully, but these errors were encountered: