You are looking at the documentation for an older version of the SDV! We are no longer supporting or maintaining this version of the software

Click here to go to the new docs pages.


SDV.fit(metadata, tables=None, root_path=None)[source]

Fit this SDV instance to the dataset data.

  • metadata (dict, str or Metadata) – Metadata dict, path to the metadata JSON file or Metadata instance itself.

  • tables (dict) – Dictionary with the table names as key and pandas.DataFrame instances as values. If None is given, the tables will be loaded from the paths indicated in metadata. Defaults to None.

  • root_path (str or None) – Path to the dataset directory. If None and metadata is a path, the metadata location is used. If None and metadata is a dict, the current working directory is used.