Loading Data
Last updated
Last updated
Load your data into Python to use it for SDV modeling. SDV supports many different types of data formats for import and export.
Don't have any data yet? The SDV library contains many different demo datasets that you can use to get started. To learn more, see the SDV Demo Data page.
If your data is already available as local files (on your own machine), load them into SDV using the functions below.
If your data is available in a database, you create a connection to import some data for SDV. Later you can use the same functionality to export synthetic data.
The SDV uses the pandas library for data manipulation and synthesizing. If your data is in any other format, load it in as a pandas.DataFrame object to use in the SDV. For multi table data, make sure you format your data as a dictionary, mapping each table name to a different DataFrame object.
Pandas offers many methods to load in different types of data. For example: SQL table or JSON string.
For more options, see the pandas reference.
Load multiple CSV files into Python.
Load an entire Excel spreadsheet into Python.
❖ SDV Enterprise bundle. This feature is available for purchase as an SDV Enterprise bundle. For more information, visit our page to .