-
-
Notifications
You must be signed in to change notification settings - Fork 18.5k
BUG: DataFrame.from_records doesn't raise proper error message when Series passed #40870
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
Conversation
hasan-yaman
commented
Apr 10, 2021
- closes DataFrame.from_records fails when the argument is Series with non-default index #40429
- tests added / passed
- Ensure all linting tests pass, see here for how to run them
- whatsnew entry
* Old tests are deleted. * New test added.
Since this was tested, should we deprecate these cases first? |
The docs include |
Passing series will give an error and according to docs Series are not supported (#40429 ). |
By the way, any suggestion to fix failing test(I think related to mypy.)? |
Thanks for the contribution @hasan-yaman I think it makes more sense if One question @hasan-yaman, why are you removing tests? I guess I'm missing something, but existing tests should be kept, and a new one passing a |
This pull request is stale because it has been open for thirty days with no activity. Please update or respond to this comment if you're still interested in working on this. |
@hasan-yaman can you address @datapythonista comments |
Thanks for the PR, but it appears to have gone stale and needs follow up from the other reviewers. Closing, but happy to open if you're interested on continuing. |