Skip to content
Snippets Groups Projects
Unverified Commit 6631202e authored by Miguel Cárdenas's avatar Miguel Cárdenas Committed by GitHub
Browse files

BUG: fix #59950 handle duplicate column names in dataframe queries (#59971)


fix: #59950 handle duplicate column names in dataframe queries

- Fixed an issue where `Dataframe.query()` would throw an unexpected
  error

- The error was caused by `self.dtypes[k]`

- Adjusted the behavior to match the behavior prior to pandas version

- Added tests to ensure that `Dataframe.query()` works as expected

Co-authored-by: default avatarMatthew Roeschke <10647082+mroeschke@users.noreply.github.com>
parent bec2dbca
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment