Skip to content

TST: Adding tests for validating DataFrame.__setitem__ and .loc behavior #61822

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

Closed

Conversation

niruta25
Copy link
Contributor

  • closes #xxxx (Replace xxxx with the GitHub issue number)
  • Tests added and passed if fixing a bug or adding a new feature
  • All code checks passed.
  • Added type annotations to new arguments/methods/functions.
  • Added an entry in the latest doc/source/whatsnew/vX.X.X.rst file if fixing a bug or adding a new feature.

Following up from #61804, adding tests to test_api.py to validate the DataFrame.setitem and .loc assignment from Series

@niruta25 niruta25 changed the title Test: Adding tests for validating DataFrame.__setitem__ and .loc behavior TST: Adding tests for validating DataFrame.__setitem__ and .loc behavior Jul 10, 2025
@simonjayhawkins simonjayhawkins added the Testing pandas testing functions or related to the test suite label Jul 22, 2025
@niruta25
Copy link
Contributor Author

niruta25 commented Aug 1, 2025

@WillAyd Since I have you, last follow up from the #61804, Should we keep these tests?

Last convo on this issue regarding tests was here: #61804 (comment)

@WillAyd
Copy link
Member

WillAyd commented Aug 1, 2025

I appreciate adding tests but I think this PR is superfluous - these cases are definitely covered in the existing code

@niruta25
Copy link
Contributor Author

niruta25 commented Aug 1, 2025

I appreciate adding tests but I think this PR is superfluous - these cases are definitely covered in the existing code

Gotcha! Thanks for the insight. Closing this ticket.

@niruta25 niruta25 closed this Aug 1, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Testing pandas testing functions or related to the test suite
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants