bigframes.pandas.DataFrame.cache#

DataFrame.cache()[source]#

Materializes the DataFrame to a temporary table.

Useful if the dataframe will be used multiple times, as this will avoid recomputating the shared intermediate value.

Returns:

DataFrame

Return type:

bigframes.pandas.DataFrame