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

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

Merged
sycai merged 7 commits intomainfrom
b364271921
Sep 27, 2024
Merged

feat: allow access of struct fields with dot operators on Series#1019
sycai merged 7 commits intomainfrom
b364271921

Conversation

@sycai
Copy link
Copy Markdown
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 and 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
@sycai sycai deleted the b364271921 branch September 27, 2024 17:43
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.

3 participants