Manipulation/selection#
|
Return the k smallest elements. |
|
Create an empty (n=0) or n-row null-filled (n>0) copy of the DataFrame. |
Cheap deepcopy/clone. |
|
|
Remove columns from the dataframe. |
|
Drop a single column in-place and return the dropped column. |
|
Drop all rows that contain null values. |
|
Explode the dataframe to long format by exploding the given columns. |
|
Extend the memory backed by this DataFrame with the values from other. |
|
Fill floating point NaN values by an Expression evaluation. |
|
Fill null values using the specified value or strategy. |
|
Filter the rows in the DataFrame based on a predicate expression. |
Find the index of a column by name. |
|
|
Get a single column as Series by name. |
Get the DataFrame as a List of Series. |
|
|
Start a groupby operation. |
|
Group based on a time value (or index value of type Int32, Int64). |
|
Create rolling groups based on a time, Int32, or Int64 column. |
|
Get the first n rows. |
|
Return a new DataFrame grown horizontally by stacking multiple Series to it. |
|
Insert a Series at a certain column index. |
Interpolate intermediate values. |
|
|
Return the dataframe as a scalar, or return the element at the given row/column. |
Returns an iterator over the DataFrame of rows of python-native values. |
|
|
Returns a non-copying iterator of slices over the underlying DataFrame. |
|
Join in SQL-like fashion. |
|
Perform an asof join. |
|
Get the first n rows. |
|
Unpivot a DataFrame from wide to long format. |
|
Take two sorted DataFrames and merge them by the sorted key. |
Group by the given columns and return the groups as separate dataframes. |
|
|
Offers a structured way to apply a sequence of user-defined functions (UDFs). |
|
Create a spreadsheet-style pivot table as a DataFrame. |
Rechunk the data in this DataFrame to a contiguous allocation. |
|
|
Rename column names. |
|
Replace a column by a new Series. |
|
Replace a column at an index location. |
Reverse the DataFrame. |
|
Get the values of a single row, either by index or by predicate. |
|
Returns all data in the DataFrame as a list of rows of python-native values. |
|
|
Returns DataFrame data as a keyed dictionary of python-native values. |
|
Sample from this DataFrame. |
|
Select columns from this DataFrame. |
|
Select columns from this LazyFrame. |
|
Indicate that one or multiple columns are sorted. |
|
Shift values by the given period. |
|
Shift the values by a given period and fill the resulting null values. |
|
Shrink DataFrame memory usage. |
|
Get a slice of this DataFrame. |
|
Sort the dataframe by the given columns. |
|
Get the last n rows. |
Take every nth row in the DataFrame and return as a new DataFrame. |
|
|
Return the k largest elements. |
|
Convert categorical variables into dummy/indicator variables. |
|
Select column as Series at index location. |
|
Transpose a DataFrame over the diagonal. |
|
Drop duplicate rows from this dataframe. |
|
Decompose struct columns into separate columns for each of their fields. |
|
Unstack a long table to a wide form without doing an aggregation. |
|
Update the values in this DataFrame with the non-null values in other. |
|
Upsample a DataFrame at a regular frequency. |
|
Grow this DataFrame vertically by stacking a DataFrame to it. |
|
Add columns to this DataFrame. |
|
Add columns to this DataFrame. |
|
Add a column at index 0 that counts the rows. |