Skip to content
This repository was archived by the owner on Apr 1, 2026. It is now read-only.

feat: iloc multiple columns selection.#1437

Merged
Genesis929 merged 4 commits intomainfrom
iloc_update_huanc
Feb 28, 2025
Merged

feat: iloc multiple columns selection.#1437
Genesis929 merged 4 commits intomainfrom
iloc_update_huanc

Conversation

@Genesis929
Copy link
Copy Markdown
Collaborator

Thank you for opening a Pull Request! Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

  • Make sure to open an issue as a bug/issue before writing your code! That way we can discuss the change, evaluate designs, and agree on the general idea
  • Ensure the tests and linter pass
  • Code coverage does not decrease (if any source code was changed)
  • Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

@product-auto-label product-auto-label bot added size: s Pull request size is small. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Feb 27, 2025
@Genesis929 Genesis929 marked this pull request as ready for review February 27, 2025 22:36
@Genesis929 Genesis929 requested review from a team and shobsi February 27, 2025 22:36
@Genesis929 Genesis929 requested a review from GarrettWu February 27, 2025 22:36
Comment thread bigframes/core/indexers.py Outdated
isinstance(key, tuple)
and isinstance(series_or_dataframe, bigframes.dataframe.DataFrame)
and len(key) == 2
and isinstance(key[1], int)
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

elif isinstance(key, tuple):
  if len(key) == 0:
  elif len(key) == 1:
  else:

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we refactor these conditions? Hard to understand the diff among each conditions.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

code refactored

@product-auto-label product-auto-label bot added size: m Pull request size is medium. and removed size: s Pull request size is small. labels Feb 27, 2025
@Genesis929 Genesis929 enabled auto-merge (squash) February 27, 2025 23:36
@Genesis929 Genesis929 merged commit ddfd02a into main Feb 28, 2025
@Genesis929 Genesis929 deleted the iloc_update_huanc branch February 28, 2025 00:28
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: m Pull request size is medium.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants