@@ -44,7 +44,7 @@ def uri(self) -> bigframes.series.Series:
44
44
BigFrames Blob is still under experiments. It may not work and subject to change in the future.
45
45
46
46
Returns:
47
- BigFrames Series: URIs as string."""
47
+ bigframes.series. Series: URIs as string."""
48
48
s = bigframes .series .Series (self ._block )
49
49
50
50
return s .struct .field ("uri" )
@@ -56,7 +56,7 @@ def authorizer(self) -> bigframes.series.Series:
56
56
BigFrames Blob is still under experiments. It may not work and subject to change in the future.
57
57
58
58
Returns:
59
- BigFrames Series: Autorithers(connection) as string."""
59
+ bigframes.series. Series: Autorithers(connection) as string."""
60
60
s = bigframes .series .Series (self ._block )
61
61
62
62
return s .struct .field ("authorizer" )
@@ -68,7 +68,7 @@ def version(self) -> bigframes.series.Series:
68
68
BigFrames Blob is still under experiments. It may not work and subject to change in the future.
69
69
70
70
Returns:
71
- BigFrames Series: Version as string."""
71
+ bigframes.series. Series: Version as string."""
72
72
# version must be retrieved after fetching metadata
73
73
return self ._apply_unary_op (ops .obj_fetch_metadata_op ).struct .field ("version" )
74
74
@@ -79,7 +79,7 @@ def metadata(self) -> bigframes.series.Series:
79
79
BigFrames Blob is still under experiments. It may not work and subject to change in the future.
80
80
81
81
Returns:
82
- BigFrames Series: JSON metadata of the Blob. Contains fields: content_type, md5_hash, size and updated(time)."""
82
+ bigframes.series. Series: JSON metadata of the Blob. Contains fields: content_type, md5_hash, size and updated(time)."""
83
83
details_json = self ._apply_unary_op (ops .obj_fetch_metadata_op ).struct .field (
84
84
"details"
85
85
)
@@ -94,7 +94,7 @@ def content_type(self) -> bigframes.series.Series:
94
94
BigFrames Blob is still under experiments. It may not work and subject to change in the future.
95
95
96
96
Returns:
97
- BigFrames Series: string of the content type."""
97
+ bigframes.series. Series: string of the content type."""
98
98
return (
99
99
self .metadata ()
100
100
._apply_unary_op (ops .JSONValue (json_path = "$.content_type" ))
@@ -108,7 +108,7 @@ def md5_hash(self) -> bigframes.series.Series:
108
108
BigFrames Blob is still under experiments. It may not work and subject to change in the future.
109
109
110
110
Returns:
111
- BigFrames Series: string of the md5 hash."""
111
+ bigframes.series. Series: string of the md5 hash."""
112
112
return (
113
113
self .metadata ()
114
114
._apply_unary_op (ops .JSONValue (json_path = "$.md5_hash" ))
@@ -122,7 +122,7 @@ def size(self) -> bigframes.series.Series:
122
122
BigFrames Blob is still under experiments. It may not work and subject to change in the future.
123
123
124
124
Returns:
125
- BigFrames Series: file size in bytes."""
125
+ bigframes.series. Series: file size in bytes."""
126
126
return (
127
127
self .metadata ()
128
128
._apply_unary_op (ops .JSONValue (json_path = "$.size" ))
@@ -137,7 +137,7 @@ def updated(self) -> bigframes.series.Series:
137
137
BigFrames Blob is still under experiments. It may not work and subject to change in the future.
138
138
139
139
Returns:
140
- BigFrames Series: updated time as UTC datetime."""
140
+ bigframes.series. Series: updated time as UTC datetime."""
141
141
import bigframes .pandas as bpd
142
142
143
143
updated = (
@@ -159,7 +159,7 @@ def _get_runtime(
159
159
metadata (bool, default False): whether to fetch the metadata in the ObjectRefRuntime.
160
160
161
161
Returns:
162
- bigframes Series: ObjectRefRuntime JSON.
162
+ bigframes.series. Series: ObjectRefRuntime JSON.
163
163
"""
164
164
s = self ._apply_unary_op (ops .obj_fetch_metadata_op ) if with_metadata else self
165
165
@@ -172,7 +172,7 @@ def read_url(self) -> bigframes.series.Series:
172
172
BigFrames Blob is still under experiments. It may not work and subject to change in the future.
173
173
174
174
Returns:
175
- BigFrames Series: Read only URLs."""
175
+ bigframes.series. Series: Read only URLs."""
176
176
return self ._get_runtime (mode = "R" )._apply_unary_op (
177
177
ops .JSONValue (json_path = "$.access_urls.read_url" )
178
178
)
@@ -184,7 +184,7 @@ def write_url(self) -> bigframes.series.Series:
184
184
BigFrames Blob is still under experiments. It may not work and subject to change in the future.
185
185
186
186
Returns:
187
- BigFrames Series: Writable URLs."""
187
+ bigframes.series. Series: Writable URLs."""
188
188
return self ._get_runtime (mode = "RW" )._apply_unary_op (
189
189
ops .JSONValue (json_path = "$.access_urls.write_url" )
190
190
)
@@ -303,7 +303,7 @@ def image_blur(
303
303
container_memory (str, default "512Mi"): container memory size. String of the format <number><unit>. Possible values are from 512Mi to 32Gi.
304
304
305
305
Returns:
306
- BigFrames Blob Series
306
+ bigframes.series.Series: blob Series if destination is GCS. Or bytes Series if destination is BQ.
307
307
"""
308
308
import bigframes .blob ._functions as blob_func
309
309
@@ -390,7 +390,7 @@ def image_resize(
390
390
container_memory (str, default "512Mi"): container memory size. String of the format <number><unit>. Possible values are from 512Mi to 32Gi.
391
391
392
392
Returns:
393
- BigFrames Blob Series
393
+ bigframes.series.Series: blob Series if destination is GCS. Or bytes Series if destination is BQ.
394
394
"""
395
395
dsize_set = dsize [0 ] > 0 and dsize [1 ] > 0
396
396
fsize_set = fx > 0.0 and fy > 0.0
@@ -486,7 +486,7 @@ def image_normalize(
486
486
container_memory (str, default "512Mi"): container memory size. String of the format <number><unit>. Possible values are from 512Mi to 32Gi.
487
487
488
488
Returns:
489
- BigFrames Blob Series
489
+ bigframes.series.Series: blob Series if destination is GCS. Or bytes Series if destination is BQ.
490
490
"""
491
491
import bigframes .blob ._functions as blob_func
492
492
@@ -603,8 +603,7 @@ def pdf_chunk(
603
603
arrays of strings.
604
604
605
605
.. note::
606
- BigFrames Blob is still under experiments. It may not work and
607
- subject to change in the future.
606
+ BigFrames Blob is still under experiments. It may not work and subject to change in the future.
608
607
609
608
Args:
610
609
connection (str or None, default None): BQ connection used for
@@ -621,7 +620,7 @@ def pdf_chunk(
621
620
container_memory (str, default "512Mi"): container memory size. String of the format <number><unit>. Possible values are from 512Mi to 32Gi.
622
621
623
622
Returns:
624
- bigframe.series.Series of array[str], where each string is a
623
+ bigframe.series.Series: Series of array[str], where each string is a
625
624
chunk of text extracted from PDF.
626
625
"""
627
626
0 commit comments