API specificationΒΆ

The API consists of dataframe, column and groupby classes, plus a small number of objects and functions in the top-level namespace. The latter are:

__dataframe_api_version__

String representing the version of the DataFrame API specification to which the conforming implementation adheres.

is_null

Check if an object is a null scalar.

null

A null object to represent missing data.

Int64

Integer type with 64 bits of precision.

Int32

Integer type with 32 bits of precision.

Int16

Integer type with 16 bits of precision.

Int8

Integer type with 8 bits of precision.

UInt64

Unsigned integer type with 64 bits of precision.

UInt32

Unsigned integer type with 32 bits of precision.

UInt16

Unsigned integer type with 16 bits of precision.

UInt8

Unsigned integer type with 8 bits of precision.

Float64

Floating point type with 64 bits of precision.

Float32

Floating point type with 32 bits of precision.

Bool

Boolean type with 8 bits of precision.

Date

Date type.

Datetime

Datetime type.

Duration

Duration type.

String

String type.

is_dtype

Indicate whether a provided dtype is of a specified data type "kind".

column_from_sequence

Construct Column from sequence of elements.

column_from_1d_array

Construct Column from 1D array.

dataframe_from_columns

Construct DataFrame from sequence of Columns.

dataframe_from_2d_array

Construct DataFrame from 2D array.

The DataFrame, Column and GroupBy objects have the following methods and attributes: