DfToDict#
- class polpo.preprocessing.pd.DfToDict(orient='dict')[source]#
Bases:
PreprocessingStep
Convert dataframe into dict.
Check out https://pandas.pydata.org/docs/reference/api/pandas.DataFrame.to_dict.html.
- Parameters:
orient (str) – Determines the type of the values of the dictionary.