Skip to content

feat: add Series dt.tz and dt.unit properties #303

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

Merged
merged 5 commits into from
Jan 8, 2024
Merged

Conversation

TrevorBergeron
Copy link
Contributor

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: m Pull request size is medium. api: bigquery Issues related to the googleapis/python-bigquery-dataframes API. labels Jan 4, 2024
@TrevorBergeron TrevorBergeron marked this pull request as ready for review January 4, 2024 18:09
@TrevorBergeron TrevorBergeron requested review from a team as code owners January 4, 2024 18:09
@TrevorBergeron TrevorBergeron requested review from stevewalker-de and Genesis929 and removed request for stevewalker-de January 4, 2024 18:09
)
def test_day(scalars_dfs, col_name):
@skip_legacy_pandas
def test_dt_day(scalars_dfs, col_name):
if pd.__version__.startswith("1."):
pytest.skip("Pyarrow datetime objects not support in pandas 1.x.")
Copy link
Collaborator

Choose a reason for hiding this comment

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

The @skip_legacy_pandas seems already skipping pandas ver 1.x, I think this "if" will always be false? Same with test_dt_date

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch, removed the redundant checks

@TrevorBergeron TrevorBergeron added the automerge Merge the pull request once unit tests and other checks pass. label Jan 8, 2024
@gcf-merge-on-green gcf-merge-on-green bot merged commit 2e1a403 into main Jan 8, 2024
@gcf-merge-on-green gcf-merge-on-green bot deleted the dt branch January 8, 2024 21:06
@gcf-merge-on-green gcf-merge-on-green bot removed the automerge Merge the pull request once unit tests and other checks pass. label Jan 8, 2024
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: m Pull request size is medium.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants