Add class to hold collection of DataFrames with relationships
- 主要語言
- Python
- 星號
- 155
- 分支
- 24
- PR 合併指標
- 30 天內沒有已合併 PR
描述
#### Add class to hold collection of DataFrames with relationships
- Support for relationships between DataFrames, with the class containing the relationship information between the DataTables.
- Support for normalizing column(s) in a DataFrame to create a new DataFrame in the class, with the associated relationship.
#### Initial Thoughts
```python
import pandas as pd
import woodwork as ww
products = pd.read_csv("products.csv")
orders = pd.read_csv("orders.csv")
products.ww.init(name='products')
orders.ww.init(name='orders', make_index=True, index='order_product_id')
ds = ww.DataframeSet(id"transactions")
ds = ds.add_dataframe(dataframe=products)
ds = ds.add_dataframe(dataframe=orders)
ds = ds.add_relationship(dataframe_id="products", column="product_id",
dataframe_id="transactions", column="product_id",
relationship='one_to_many')
```
貢獻指南
評估
這個 Issue 還沒有評估資料。