Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit67351fd

Browse files
bnaultswast
authored andcommitted
fix: Skip geography_as_object conversion for REPEATED fields (googleapis#1220)
Co-authored-by: Tim Swast <swast@google.com>
1 parent35b65c6 commit67351fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎google/cloud/bigquery/table.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1985,7 +1985,7 @@ def to_dataframe(
19851985

19861986
ifgeography_as_object:
19871987
forfieldinself.schema:
1988-
iffield.field_type.upper()=="GEOGRAPHY":
1988+
iffield.field_type.upper()=="GEOGRAPHY"andfield.mode!="REPEATED":
19891989
df[field.name]=df[field.name].dropna().apply(_read_wkt)
19901990

19911991
returndf

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp