Skip to content
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

feat: Add Index constructor, copy, get_level_values, to_series #334

Merged
merged 10 commits into from
Jan 26, 2024

Conversation

TrevorBergeron
Copy link
Contributor

fix mypy error

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: l Pull request size is large. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Jan 19, 2024
@TrevorBergeron TrevorBergeron marked this pull request as ready for review January 19, 2024 22:25
@TrevorBergeron TrevorBergeron requested review from a team as code owners January 19, 2024 22:25
@TrevorBergeron TrevorBergeron requested review from stevewalker-de and Genesis929 and removed request for stevewalker-de January 19, 2024 22:25
name=None,
):
import bigframes.dataframe as df
import bigframes.series as series
Copy link
Collaborator

@Genesis929 Genesis929 Jan 26, 2024

Choose a reason for hiding this comment

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

I'm a bit curious why import modules inside a method.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Its to avoids a circular dependency. DataFrame.py and Series.py already depend on Index.py, so cannot have top-level import of those from Index.py.

@TrevorBergeron TrevorBergeron merged commit e5d054e into main Jan 26, 2024
14 of 15 checks passed
@TrevorBergeron TrevorBergeron deleted the index_utils branch January 26, 2024 23:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. size: l Pull request size is large.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants