sdv-dev / SDV

Synthetic data generation for tabular data
https://docs.sdv.dev/sdv
Other
2.28k stars 300 forks source link

import sdv shows error: #1329

Closed lk1983823 closed 1 year ago

lk1983823 commented 1 year ago

Environment Details

Please indicate the following details about the environment in which you found the bug:

Error Description

I have successfully installed sdv1.0.0b0 in python 3.10. When I run from sdv import load_demo, it shows: ImportError: cannot import name 'load_demo' from 'sdv'. Actually, I cant import anything from sdv :(.

Anyone can help?

npatki commented 1 year ago

Hi @lk1983823, in the new SDV 1.0 Beta release, the API has changed. Instead of importing load_demo, the new API is:

from sdv.datasets.demo import download_demo

For more information on the updated API and user guides, see our new SDV 1.0 documentation site and let us know if you're having any issues.