polpo.preprocessing.pd#

Preprocessing steps involving pandas dataframes.

Classes#

ColumnToDict(column_name)

Extract a column from a dataframe and convert it to a dict.

ColumnsSelector(column_names)

Select dataframe column.

ColumnsToDict(column_names)

Extract one or more columns from a dataframe and convert them to a row-indexed dict.

CsvReader([path, delimiter, nrows])

Read csv with pandas.

DfCopy([deep])

Make a copy of a dataframe.

DfIsInFilter(column_name, values[, negate])

DfToDict([orient])

Convert dataframe into dict.

Drop(labels[, axis, inplace])

Drop specified labels from rows or columns.

Dropna([inplace])

Drop nan in a dataframe.

IndexSetter(key[, inplace, drop, ...])

Set the DataFrame index using existing columns.

Pipeline(steps[, data])

PreprocessingStep()

Preprocessing step.

SeriesToDict()

Convert series into dict.

UpdateColumnValues(column_name, func)

Update dataframe column values.