Skip to content

feat: allow access of struct fields with dot operators on Series #1019

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 7 commits into from
Sep 27, 2024

Conversation

sycai
Copy link
Contributor

@sycai sycai commented Sep 25, 2024

df["person"].address.city

is now semantically equal to

df["person"].struct.field("address").struct.field("city")

@sycai sycai requested review from a team as code owners September 25, 2024 17:57
@sycai sycai requested a review from GarrettWu September 25, 2024 17:57
@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 Sep 25, 2024
@sycai sycai requested a review from tswast September 25, 2024 18:56
@sycai sycai merged commit ef76f13 into main Sep 27, 2024
22 of 23 checks passed
@sycai sycai deleted the b364271921 branch September 27, 2024 17:43
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.

3 participants