Add class to hold collection of DataFrames with relationships
- Linguagem predominante
- Python
- Estrelas
- 155
- Forks
- 24
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
#### 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')
```
Guia de contribuição
Avaliação
Esta issue ainda não foi avaliada.