Converts a dictionary to a DatasetInfo object.

Input Parameters

Type

Default

Description

deserialized_json

dict

The dictionary object to be converted

import pandas as pd

df = pd.read_csv('example_dataset.csv')

dataset_info = fdl.DatasetInfo.from_dataframe(
    df=df
)

dataset_info_dict = dataset_info.to_dict()

new_dataset_info = fdl.DatasetInfo.from_dict(
    deserialized_json={
        'dataset': dataset_info_dict
    }
)

Return Type

Description

fdl.DatasetInfo

A fdl.DatasetInfo() object constructed from the dictionary.