Skip to content

Commit 14fb751

Browse files
committed
add normalize entittyset to readme
1 parent 094f033 commit 14fb751

File tree

1 file changed

+20
-1
lines changed

1 file changed

+20
-1
lines changed

README.md

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,22 +66,41 @@ Normalizes dataframe based on the dependencies given. Keys for the newly created
6666
3) has attribute furthest to left in the table
6767

6868
**Returns:**
69+
6970
* `new_dfs` (list[pd.DataFrame]) : list of new dataframes
7071

7172
<br />
7273

7374
#### `make_entityset`
7475

7576
```shell
76-
make_entityset(df, dependencies, name=None, time_index=None):
77+
make_entityset(df, dependencies, name=None, time_index=None)
7778
```
7879
Creates a normalized EntitySet from dataframe based on the dependencies given. Keys are chosen in the same fashion as for `normalize_dataframe`and a new index will be created if any key has more than a single attribute.
7980

8081
**Returns:**
82+
8183
* `entityset` (ft.EntitySet) : created EntitySet
8284

8385
<br />
8486

87+
#### `normalize_entity`
88+
89+
```shell
90+
normalize_entity(es, accuracy=0.98)
91+
```
92+
Returns a new normalized `EntitySet` from an `EntitySet` with a single entity.
93+
94+
**Arguments:**
95+
96+
* `es` (ft.EntitySet) : EntitySet with a single entity to normalize
97+
98+
**Returns:**
99+
100+
* `new_es` (ft.EntitySet) : new normalized EntitySet
101+
102+
<br />
103+
85104
## Feature Labs
86105
<a href="https://www.featurelabs.com/">
87106
<img src="http://www.featurelabs.com/wp-content/uploads/2017/12/logo.png" alt="Featuretools" />

0 commit comments

Comments
 (0)