powered by
Add an entity to an entityset.
add_entity(entityset, entity_id, df, index = NULL, time_index = NULL, ...)
The entity set to modify.
The name of the entity to add.
The data frame to add as an entity.
The index parameter specifies the column that uniquely identifies rows in the dataframe
Name of the time column in the dataframe.
Additional parameters passed to `featuretools.entity_from_dataframe`.
A modified entityset.
# NOT RUN { library(magrittr) create_entityset("set") %>% add_entity(df = cars, entity_id = "cars", index = "row_number") # }
Run the code above in your browser using DataLab