bigframes.pandas.DataFrame — bigframes documentation
Two-dimensional, size-mutable, potentially heterogeneous tabular data.
Data structure also contains labeled axes (rows and columns). Arithmetic operations align on both row and column labels. Can be thought of as a dict-like container for Series objects. The primary pandas data structure.
|
|
|
|
|
Get addition of DataFrame and other, element-wise (binary operator +). |
|
|
|
|
|
Aggregate using one or more operations over columns. |
|
Aggregate using one or more operations over columns. |
|
Align two objects on their axes with the specified join method. |
|
Return whether all elements are True, potentially over an axis. |
|
Return whether any element is True, potentially over an axis. |
|
Apply a function along an axis of the DataFrame. |
|
Apply a function to a Dataframe elementwise. |
|
Draw a stacked area plot. |
|
Assign new columns to a DataFrame. |
|
|
|
Draw a vertical bar plot. |
|
|
|
Materializes the DataFrame to a temporary table. |
|
Perform column-wise combine with another DataFrame. |
|
Update null elements with value in the same location in other. |
|
|
|
Compute pairwise correlation of columns, excluding NA/null values. |
|
Compute pairwise correlation. |
|
Count non-NA cells for each column. |
|
Compute pairwise covariance of columns, excluding NA/null values. |
|
Return cumulative maximum over columns. |
|
Return cumulative minimum over columns. |
|
Return cumulative product over columns. |
|
Return cumulative sum over columns. |
|
Generate descriptive statistics. |
|
First discrete difference of element. |
|
Get floating division of DataFrame and other, element-wise (binary operator /). |
|
Get floating division of DataFrame and other, element-wise (binary operator /). |
|
Compute the matrix multiplication between the DataFrame and other. |
|
Drop specified labels from columns. |
|
Return DataFrame with duplicate rows removed. |
|
Return DataFrame with requested index / column level(s) removed. |
|
Remove missing values. |
|
Return boolean Series denoting duplicate rows. |
|
Get equal to of DataFrame and other, element-wise (binary operator eq). |
|
|
|
Evaluate a string describing operations on DataFrame columns. |
|
|
|
Transform each element of an array to a row, replicating index values. |
|
|
|
Fill NA (NULL in BigQuery) values using the specified method. |
|
|
|
Get integer division of DataFrame and other, element-wise (binary operator //). |
|
|
|
|
|
Get 'greater than or equal to' of DataFrame and other, element-wise (binary operator >=). |
|
|
|
Group DataFrame by columns. |
|
Get 'greater than' of DataFrame and other, element-wise (binary operator >). |
|
|
|
Draw one histogram of the DataFrame’s columns. |
|
Return index of first occurrence of maximum over columns. |
|
Return index of first occurrence of minimum over columns. |
|
Print a concise summary of a DataFrame. |
|
Insert column into DataFrame at specified location. |
|
Fill NA (NULL in BigQuery) values using an interpolation method. |
|
Whether each element in the DataFrame is contained in values. |
|
|
|
|
|
Iterate over (column name, Series) pairs. |
|
Iterate over DataFrame rows as (index, Series) pairs. |
|
Iterate over DataFrame rows as namedtuples. |
|
Join columns of another DataFrame. |
|
Get the 'info axis'. |
|
Return unbiased kurtosis over columns. |
|
Return unbiased kurtosis over columns. |
|
Get 'less than or equal to' of dataframe and other, element-wise (binary operator <=). |
|
Plot Series or DataFrame as lines. |
|
Get 'less than' of DataFrame and other, element-wise (binary operator <). |
|
Apply a function to a Dataframe elementwise. |
|
Replace values where the condition is False. |
|
Return the maximum of the values over the requested axis. |
|
Return the mean of the values over the requested axis. |
|
Return the median of the values over colunms. |
|
Unpivot a DataFrame from wide to long format, optionally leaving identifiers set. |
|
Return the memory usage of each column in bytes. |
|
Merge DataFrame objects with a database-style join. |
|
Return the minimum of the values over the requested axis. |
|
Get modulo of DataFrame and other, element-wise (binary operator %). |
|
Get multiplication of DataFrame and other, element-wise (binary operator *). |
|
Get multiplication of DataFrame and other, element-wise (binary operator *). |
|
Get not equal to of DataFrame and other, element-wise (binary operator ne). |
|
Return the first n rows ordered by columns in descending order. |
|
|
|
|
|
Return the first n rows ordered by columns in ascending order. |
|
Count number of distinct elements in each column. |
|
|
|
Preview n arbitrary rows from the dataframe. |
|
|
|
Return reshaped DataFrame organized by given index / column values. |
|
Create a spreadsheet-style pivot table as a DataFrame. |
|
Get Exponential power of dataframe and other, element-wise (binary operator **). |
|
Return the product of the values over the requested axis. |
|
Return the product of the values over the requested axis. |
|
Return values at the given quantile over requested axis. |
|
Query the columns of a DataFrame with a boolean expression. |
|
Get addition of DataFrame and other, element-wise (binary operator +). |
|
|
|
Get floating division of DataFrame and other, element-wise (binary operator /). |
|
Conform DataFrame to new index with optional filling logic. |
|
Return an object with matching indices as other object. |
|
Rename columns. |
|
Set the name of the axis for the index. |
|
Rearrange index levels using input order. |
|
Replace values given in to_replace with value. |
|
Resample time-series data. |
|
Reset the index. |
|
Get integer division of DataFrame and other, element-wise (binary operator //). |
|
Get modulo of DataFrame and other, element-wise (binary operator %). |
|
Get multiplication of DataFrame and other, element-wise (binary operator *). |
|
|
|
Round a DataFrame to a variable number of decimal places. |
|
Get Exponential power of dataframe and other, element-wise (binary operator rpow). |
|
Get subtraction of DataFrame and other, element-wise (binary operator -). |
|
Get floating division of DataFrame and other, element-wise (binary operator /). |
|
|
|
Create a scatter plot with varying marker point size and color. |
|
Return a subset of the DataFrame's columns based on the column dtypes. |
|
Set the DataFrame index using existing columns. |
|
|
|
Return unbiased skew over columns. |
|
Sort object by labels (along an axis). |
|
Sort by the values along row axis. |
|
Stack the prescribed level(s) from columns to index. |
|
Return sample standard deviation over columns. |
|
Get subtraction of DataFrame and other, element-wise (binary operator -). |
|
Get subtraction of DataFrame and other, element-wise (binary operator -). |
|
Return the sum of the values over the requested axis. |
|
Swap levels i and j in a |
|
|
|
|
|
Write DataFrame to an Arrow table / record batch. |
|
|
|
Convert the DataFrame to a dictionary. |
|
Write DataFrame to an Excel sheet. |
|
Write a DataFrame to a BigQuery table. |
|
Render a DataFrame as an HTML table. |
|
|
|
Render object to a LaTeX tabular, longtable, or nested table. |
|
Print DataFrame in Markdown-friendly format. |
|
Convert the DataFrame to a NumPy array. |
|
Write a DataFrame to the ORC format. |
|
Write DataFrame to pandas DataFrame. |
|
Stream DataFrame results to an iterable of pandas DataFrame. |
|
Write a DataFrame to the binary Parquet format. |
|
Pickle (serialize) object to file. |
|
Convert DataFrame to a NumPy record array. |
|
Render a DataFrame to a console-friendly tabular output. |
Transpose index and columns. |
|
|
Get floating division of DataFrame and other, element-wise (binary operator /). |
|
Pivot a level of the (necessarily hierarchical) index labels. |
|
Modify in place using non-NA values from another DataFrame. |
|
Return a Series containing counts of unique rows in the DataFrame. |
|
Return unbiased variance over requested axis. |
|
Replace values where the condition is False. |