DataFrame#

The following table lists both implemented and not implemented methods. If you have need of an operation that is listed as not implemented, feel free to open an issue on the GitHub repository, or give a thumbs up to already created issues. Contributions are also welcome!

The following table is structured as follows: The first column contains the method name. The second column contains link to a description of corresponding pandas method. The third column is a flag for whether or not there is an implementation in Xorbits for the method in the left column. Y stands for yes, N stands for no, P standsfor partial (meaning some parameters may not be supported yet), and D stands for default to pandas.

Constructor#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame

DataFrame

Y

Attributes and underlying data#

Axes

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.index

DataFrame.index

Y

DataFrame.columns

DataFrame.columns

Y

DataFrame.dtypes

DataFrame.dtypes

Y

DataFrame.info

DataFrame.info

Y

DataFrame.select_dtypes

DataFrame.select_dtypes

Y

DataFrame.values

DataFrame.values

Y

DataFrame.axes

DataFrame.axes

Y

DataFrame.ndim

DataFrame.ndim

Y

DataFrame.size

DataFrame.size

Y

DataFrame.shape

DataFrame.shape

Y

DataFrame.memory_usage

DataFrame.memory_usage

Y

DataFrame.empty

DataFrame.empty

Y

DataFrame.set_flags

DataFrame.set_flags

Y

Conversion#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.astype

DataFrame.astype

Y

DataFrame.convert_dtypes

DataFrame.convert_dtypes

Y

DataFrame.infer_objects

DataFrame.infer_objects

Y

DataFrame.copy

DataFrame.copy

Y

DataFrame.bool

DataFrame.bool

Y

Indexing, iteration#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.head

DataFrame.head

Y

DataFrame.at

DataFrame.at

Y

DataFrame.iat

DataFrame.iat

Y

DataFrame.loc

DataFrame.loc

Y

DataFrame.iloc

DataFrame.iloc

Y

DataFrame.insert

DataFrame.insert

Y

DataFrame.__iter__

DataFrame.__iter__

Y

DataFrame.items

DataFrame.items

Y

DataFrame.iteritems

DataFrame.iteritems

Y

DataFrame.keys

DataFrame.keys

Y

DataFrame.iterrows

DataFrame.iterrows

Y

DataFrame.itertuples

DataFrame.itertuples

Y

DataFrame.lookup

DataFrame.lookup

Y

DataFrame.pop

DataFrame.pop

Y

DataFrame.tail

DataFrame.tail

Y

DataFrame.xs

DataFrame.xs

Y

DataFrame.get

DataFrame.get

Y

DataFrame.isin

DataFrame.isin

Y

DataFrame.where

DataFrame.where

Y

DataFrame.mask

DataFrame.mask

Y

DataFrame.query

DataFrame.query

Y

For more information on .at, .iat, .loc, and .iloc, see the indexing documentation.

Binary operator functions#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.add

DataFrame.add

Y

DataFrame.sub

DataFrame.sub

Y

DataFrame.mul

DataFrame.mul

Y

DataFrame.div

DataFrame.div

Y

DataFrame.truediv

DataFrame.truediv

Y

DataFrame.floordiv

DataFrame.floordiv

Y

DataFrame.mod

DataFrame.mod

Y

DataFrame.pow

DataFrame.pow

Y

DataFrame.dot

DataFrame.dot

Y

DataFrame.radd

DataFrame.radd

Y

DataFrame.rsub

DataFrame.rsub

Y

DataFrame.rmul

DataFrame.rmul

Y

DataFrame.rdiv

DataFrame.rdiv

Y

DataFrame.rtruediv

DataFrame.rtruediv

Y

DataFrame.rfloordiv

DataFrame.rfloordiv

Y

DataFrame.rmod

DataFrame.rmod

Y

DataFrame.rpow

DataFrame.rpow

Y

DataFrame.lt

DataFrame.lt

Y

DataFrame.gt

DataFrame.gt

Y

DataFrame.le

DataFrame.le

Y

DataFrame.ge

DataFrame.ge

Y

DataFrame.ne

DataFrame.ne

Y

DataFrame.eq

DataFrame.eq

Y

DataFrame.combine

DataFrame.combine

Y

DataFrame.combine_first

DataFrame.combine_first

Y

Function application, GroupBy & window#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.apply

DataFrame.apply

Y

DataFrame.applymap

DataFrame.applymap

Y

DataFrame.pipe

DataFrame.pipe

Y

DataFrame.agg

DataFrame.agg

Y

DataFrame.aggregate

DataFrame.aggregate

Y

DataFrame.transform

DataFrame.transform

Y

DataFrame.groupby

DataFrame.groupby

Y

DataFrame.rolling

DataFrame.rolling

Y

DataFrame.expanding

DataFrame.expanding

Y

DataFrame.ewm

DataFrame.ewm

Y

Computations / descriptive stats#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.abs

DataFrame.abs

Y

DataFrame.all

DataFrame.all

Y

DataFrame.any

DataFrame.any

Y

DataFrame.clip

DataFrame.clip

Y

DataFrame.corr

DataFrame.corr

Y

DataFrame.corrwith

DataFrame.corrwith

Y

DataFrame.count

DataFrame.count

Y

DataFrame.cov

DataFrame.cov

Y

DataFrame.cummax

DataFrame.cummax

Y

DataFrame.cummin

DataFrame.cummin

Y

DataFrame.cumprod

DataFrame.cumprod

Y

DataFrame.cumsum

DataFrame.cumsum

Y

DataFrame.describe

DataFrame.describe

Y

DataFrame.diff

DataFrame.diff

Y

DataFrame.eval

DataFrame.eval

Y

DataFrame.kurt

DataFrame.kurt

Y

DataFrame.kurtosis

DataFrame.kurtosis

Y

DataFrame.mad

DataFrame.mad

Y

DataFrame.max

DataFrame.max

Y

DataFrame.mean

DataFrame.mean

Y

DataFrame.median

DataFrame.median

Y

DataFrame.min

DataFrame.min

Y

DataFrame.mode

DataFrame.mode

Y

DataFrame.pct_change

DataFrame.pct_change

Y

DataFrame.prod

DataFrame.prod

Y

DataFrame.product

DataFrame.product

Y

DataFrame.quantile

DataFrame.quantile

Y

DataFrame.rank

DataFrame.rank

Y

DataFrame.round

DataFrame.round

Y

DataFrame.sem

DataFrame.sem

Y

DataFrame.skew

DataFrame.skew

Y

DataFrame.sum

DataFrame.sum

Y

DataFrame.std

DataFrame.std

Y

DataFrame.var

DataFrame.var

Y

DataFrame.nunique

DataFrame.nunique

Y

DataFrame.value_counts

DataFrame.value_counts

Y

Reindexing / selection / label manipulation#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.add_prefix

DataFrame.add_prefix

Y

DataFrame.add_suffix

DataFrame.add_suffix

Y

DataFrame.align

DataFrame.align

Y

DataFrame.at_time

DataFrame.at_time

Y

DataFrame.between_time

DataFrame.between_time

Y

DataFrame.drop

DataFrame.drop

Y

DataFrame.drop_duplicates

DataFrame.drop_duplicates

Y

DataFrame.duplicated

DataFrame.duplicated

Y

DataFrame.equals

DataFrame.equals

Y

DataFrame.filter

DataFrame.filter

Y

DataFrame.first

DataFrame.first

Y

DataFrame.head

DataFrame.head

Y

DataFrame.idxmax

DataFrame.idxmax

Y

DataFrame.idxmin

DataFrame.idxmin

Y

DataFrame.last

DataFrame.last

Y

DataFrame.reindex

DataFrame.reindex

Y

DataFrame.reindex_like

DataFrame.reindex_like

Y

DataFrame.rename

DataFrame.rename

Y

DataFrame.rename_axis

DataFrame.rename_axis

Y

DataFrame.reset_index

DataFrame.reset_index

Y

DataFrame.sample

DataFrame.sample

Y

DataFrame.set_axis

DataFrame.set_axis

Y

DataFrame.set_index

DataFrame.set_index

Y

DataFrame.tail

DataFrame.tail

Y

DataFrame.take

DataFrame.take

Y

DataFrame.truncate

DataFrame.truncate

Y

Missing data handling#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.backfill

DataFrame.backfill

Y

DataFrame.bfill

DataFrame.bfill

Y

DataFrame.dropna

DataFrame.dropna

Y

DataFrame.ffill

DataFrame.ffill

Y

DataFrame.fillna

DataFrame.fillna

Y

DataFrame.interpolate

DataFrame.interpolate

Y

DataFrame.isna

DataFrame.isna

Y

DataFrame.isnull

DataFrame.isnull

Y

DataFrame.notna

DataFrame.notna

Y

DataFrame.notnull

DataFrame.notnull

Y

DataFrame.pad

DataFrame.pad

Y

DataFrame.replace

DataFrame.replace

Y

Reshaping, sorting, transposing#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.droplevel

DataFrame.droplevel

Y

DataFrame.pivot

DataFrame.pivot

Y

DataFrame.pivot_table

DataFrame.pivot_table

Y

DataFrame.reorder_levels

DataFrame.reorder_levels

Y

DataFrame.sort_values

DataFrame.sort_values

Y

DataFrame.sort_index

DataFrame.sort_index

Y

DataFrame.nlargest

DataFrame.nlargest

Y

DataFrame.nsmallest

DataFrame.nsmallest

Y

DataFrame.swaplevel

DataFrame.swaplevel

Y

DataFrame.stack

DataFrame.stack

Y

DataFrame.unstack

DataFrame.unstack

Y

DataFrame.swapaxes

DataFrame.swapaxes

Y

DataFrame.melt

DataFrame.melt

Y

DataFrame.explode

DataFrame.explode

Y

DataFrame.squeeze

DataFrame.squeeze

Y

DataFrame.to_xarray

DataFrame.to_xarray

Y

DataFrame.T

DataFrame.T

Y

DataFrame.transpose

DataFrame.transpose

Y

Combining / comparing / joining / merging#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.append

DataFrame.append

Y

DataFrame.assign

DataFrame.assign

Y

DataFrame.compare

DataFrame.compare

Y

DataFrame.join

DataFrame.join

Y

DataFrame.merge

DataFrame.merge

Y

DataFrame.update

DataFrame.update

Y

Flags#

Flags refer to attributes of the pandas object. Properties of the dataset (like the date is was recorded, the URL it was accessed from, etc.) should be stored in DataFrame.attrs.

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

Flags

Flags

Y

Metadata#

DataFrame.attrs is a dictionary for storing global metadata for this DataFrame.

Warning

DataFrame.attrs is considered experimental and may change without warning.

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.attrs

DataFrame.attrs

Y

Plotting#

DataFrame.plot is both a callable method and a namespace attribute for specific plotting methods of the form DataFrame.plot.<kind>.

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.plot

DataFrame.plot

Y

DataFrame.plot.area

DataFrame.plot.area

Y

DataFrame.plot.bar

DataFrame.plot.bar

Y

DataFrame.plot.barh

DataFrame.plot.barh

Y

DataFrame.plot.box

DataFrame.plot.box

Y

DataFrame.plot.density

DataFrame.plot.density

Y

DataFrame.plot.hexbin

DataFrame.plot.hexbin

Y

DataFrame.plot.hist

DataFrame.plot.hist

Y

DataFrame.plot.kde

DataFrame.plot.kde

Y

DataFrame.plot.line

DataFrame.plot.line

Y

DataFrame.plot.pie

DataFrame.plot.pie

Y

DataFrame.plot.scatter

DataFrame.plot.scatter

Y

DataFrame.boxplot

DataFrame.boxplot

Y

DataFrame.hist

DataFrame.hist

Y

Sparse accessor#

Sparse-dtype specific methods and attributes are provided under the DataFrame.sparse accessor.

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.sparse.density

DataFrame.sparse.density

Y

DataFrame.sparse.from_spmatrix

DataFrame.sparse.from_spmatrix

Y

DataFrame.sparse.to_coo

DataFrame.sparse.to_coo

Y

DataFrame.sparse.to_dense

DataFrame.sparse.to_dense

Y

Serialization / IO / conversion#

xorbits.pandas

pandas

Implemented? (Y/N/P/D)

Notes for Current implementation

DataFrame.from_dict

DataFrame.from_dict

Y

DataFrame.from_records

DataFrame.from_records

Y

DataFrame.to_orc

DataFrame.to_orc

Y

DataFrame.to_parquet

DataFrame.to_parquet

Y

DataFrame.to_pickle

DataFrame.to_pickle

Y

DataFrame.to_csv

DataFrame.to_csv

Y

DataFrame.to_hdf

DataFrame.to_hdf

Y

DataFrame.to_sql

DataFrame.to_sql

Y

DataFrame.to_dict

DataFrame.to_dict

Y

DataFrame.to_excel

DataFrame.to_excel

Y

DataFrame.to_json

DataFrame.to_json

Y

DataFrame.to_html

DataFrame.to_html

Y

DataFrame.to_feather

DataFrame.to_feather

Y

DataFrame.to_latex

DataFrame.to_latex

Y

DataFrame.to_stata

DataFrame.to_stata

Y

DataFrame.to_gbq

DataFrame.to_gbq

Y

DataFrame.to_records

DataFrame.to_records

Y

DataFrame.to_string

DataFrame.to_string

Y

DataFrame.to_clipboard

DataFrame.to_clipboard

Y

DataFrame.to_markdown

DataFrame.to_markdown

Y

DataFrame.style

DataFrame.style

Y

DataFrame.__dataframe__

DataFrame.__dataframe__

Y