bigframes.pandas.Series.to_xarray#

Series.to_xarray(*, allow_large_results: bool | None = None)[source]#

Return an xarray object from the pandas object.

Returns:

Data in the pandas structure

converted to Dataset if the object is a DataFrame, or a DataArray if the object is a Series.

allow_large_results (bool, default None):

If not None, overrides the global setting to allow or disallow large query results over the default size limit of 10 GB.

Return type:

xarray.DataArray or xarray.Dataset