Skip to main content

Accessing Data

Returns a tuple representing the dimensions of the DataFrame.

df.get(column_name)

Returns column(s) from DataFrame.

Returns the element of Series that corresponds to its row label.

Returns the element contained in Series at the given position.

Returns the indices (row labels) of the DataFrame.

Returns the column labels of the DataFrame.

df.take(indices)

Returns the elements in the given positional indices.