bigframes.bigquery#
This module integrates BigQuery built-in functions for use with DataFrame objects, such as array functions: https://cloud.google.com/bigquery/docs/reference/standard-sql/array_functions.
Functions
|
Returns the approximate top elements of expression as an array of STRUCTs. |
|
Group data and create arrays from selected columns, omitting NULLs to avoid BigQuery errors (NULLs not allowed in arrays). |
|
Compute the length of each array element in the Series. |
|
Converts array elements within a Series into delimited strings. |
|
Creates a new vector index on a column of a table. |
|
Extracts a JSON value and converts it to a SQL JSON-formatted |
|
Extracts a JSON array and converts it to a SQL array of JSON-formatted STRING or JSON values. |
|
Extracts a JSON array and converts it to a SQL array of STRING values. |
|
Returns all keys in the root of a JSON object as an ARRAY of STRINGs. |
|
Extracts a JSON value and converts it to a SQL JSON-formatted |
|
Extracts a JSON array and converts it to a SQL array of JSON-formatted STRING or JSON values. |
|
Produces a new JSON value within a Series by inserting or replacing values at specified paths. |
|
Extracts a JSON scalar value and converts it to a SQL |
|
Extracts a JSON array of scalar values and converts it to a SQL |
|
Converts a series with a JSON-formatted STRING value to a JSON value. |
|
Create a Series from a SQL template. |
|
Returns the area in square meters covered by the polygons in the input GEOGRAPHY. |
|
Computes a GEOGRAPHY that represents all points whose distance from the input GEOGRAPHY is less than or equal to distance meters. |
|
Computes the geometric centroid of a GEOGRAPHY type. |
|
Computes the convex hull of a GEOGRAPHY type. |
|
Returns a GEOGRAPHY that represents the point set difference of geography_1 and geography_2. |
|
Returns the shortest distance in meters between two non-empty |
|
Returns a GEOGRAPHY that represents the point set intersection of the two input GEOGRAPHYs. |
|
Returns TRUE for a non-empty Geography, where each element in the Geography has an empty boundary. |
|
Returns the total length in meters of the lines in the input GEOGRAPHY. |
|
Returns statistics summarizing the pixel values of the raster image referenced by raster_id that intersect with geography. |
|
Returns a simplified version of the input geography. |
|
Takes a DataFrame and converts it into a Series of structs with each struct entry corresponding to a DataFrame row and each struct field corresponding to a DataFrame column |
|
Converts a series with a JSON value to a JSON-formatted STRING value. |
|
Converts a series to a JSON-formatted STRING value. |
|
Converts a timestmap series to unix epoch microseconds |
|
Converts a timestmap series to unix epoch milliseconds |
|
Converts a timestmap series to unix epoch seconds |
|
Conduct vector search which searches embeddings to find semantically similar entities. |