ColumnsToDict#

class polpo.preprocessing.pd.ColumnsToDict(column_names)[source]#

Bases: Pipeline

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

Parameters:

column_names (list of str) – Names of the columns to extract.

load()#

Load data.