Skip to content

Commit

Permalink
fixes demo file usage with latest syntax (#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
Samuwhale authored Jun 7, 2024
1 parent de8b088 commit 90d8765
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@ Alternatively, to install it within a Jupyter notebook: ``!pip install git+https
Basic usage for our built-in titanic dataset is as follows:

```py
from metasyn import MetaFrame, demo_data
from metasyn import MetaFrame, demo_dataframe
from metasyncontrib.disclosure import DisclosurePrivacy
from metasyncontrib.disclosure.faker import DisclosureFaker
from metasyncontrib.disclosure.string import DisclosureFaker

df = demo_data("titanic")
df = demo_dataframe("titanic")

spec = [
{"name": "PassengerId", "distribution": {"unique": True}},
Expand Down

0 comments on commit 90d8765

Please sign in to comment.