Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
j-grover authored and Jaskirat Grover committed Oct 18, 2019
1 parent 561b33f commit 05ab955
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ pip uninstall autonormalize

### `auto_entityset`
```shell
auto_entityset(df, accuracy=0.98, index=None, name=None, time_index=None)
auto_entityset(df, accuracy=0.98, index=None, name=None, time_index=None, variable_types=None)
```
Creates a normalized entityset from a dataframe.

Expand All @@ -49,8 +49,10 @@ Creates a normalized entityset from a dataframe.

* `name` (str, optional) : the name of created EntitySet

* `time_index` (str, optional) : name of time column in the dataframe.
* `time_index` (str, optional) : name of time column in the dataframe

* `variable_types` (dict[str -> Variable], optional) : Keys are of variable ids and values are variable types. Used to initialize an entity's store.

**Returns:**

* `entityset` (ft.EntitySet) : created entity set
Expand Down Expand Up @@ -85,7 +87,7 @@ Normalizes dataframe based on the dependencies given. Keys for the newly created
### `make_entityset`

```shell
make_entityset(df, dependencies, name=None, time_index=None)
make_entityset(df, dependencies, name=None, time_index=None, variable_types=None)
```
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.

Expand Down

0 comments on commit 05ab955

Please sign in to comment.