Manipulation/selection#
Get part of the DataFrame as a new DataFrame, Series, or scalar. |
|
|
Return the |
|
Cast DataFrame column(s) to the specified dtype(s). |
|
Create an empty (n=0) or |
Create a copy of this DataFrame. |
|
|
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 |
|
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 one or more predicate expressions. |
|
Take every nth row in the DataFrame and return as a new DataFrame. |
|
Get a single column by name. |
Find the index of a column by name. |
|
Get the DataFrame as a List of Series. |
|
|
Start a group by operation. |
|
Group based on a time value (or index value of type Int32, Int64). |
|
Get the first |
|
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 columns of this DataFrame. |
|
|
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. |
|
Perform a join based on one or multiple (in)equality predicates. |
|
Get the first |
|
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 at an index location. |
Reverse the DataFrame. |
|
|
Create rolling groups based on a temporal or integer column. |
|
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 all data as a dictionary of python-native values keyed by some column. |
|
Sample from this DataFrame. |
|
Select columns from this DataFrame. |
|
Select columns from this DataFrame. |
|
Indicate that one or multiple columns are sorted. |
|
Shift values by the given number of indices. |
|
Shrink DataFrame memory usage. |
|
Get a slice of this DataFrame. |
|
Sort the dataframe by the given columns. |
|
Execute a SQL query against the DataFrame. |
|
Get the last |
|
Convert categorical variables into dummy/indicator variables. |
|
Select column as Series at index location. |
|
Return the |
|
Transpose a DataFrame over the diagonal. |
|
Drop duplicate rows from this dataframe. |
|
Decompose struct columns into separate columns for each of their fields. |
|
Unpivot a DataFrame from wide to long format. |
|
Unstack a long table to a wide form without doing an aggregation. |
|
Update the values in this |
|
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. |
|
Add a row index as the first column in the DataFrame. |