Simple shop dataset#
Summary#
The Simple shop dataset is our semi-artificial dataset that simulates user activity in an online store. There are two products in the store catalog, two delivery methods and two types of payment.
How to use#
It is recommended to load the dataset as an Eventstream. However, as_dataframe=True
flag allows to load the dataset as pandas.DataFrame.
from retentioneering import datasets
stream = datasets.load_simple_shop()
dataframe = datasets.load_simple_shop(as_dataframe=True)
Dataset description#
The dataset contains a list of customer actions and choices on the website. Each record/line in the file has the following fields/format:
— user_id
: the unique user identifier;
— event
: a name of customer action;
— timestamp
: a visit time. The format is YYYY-MM-DDThh:mm:ss.mmmmmm
.
Here is the full list of events:
Page Name | Description |
---|---|
main | visiting the first page of the store |
catalog | viewing product catalog |
product1 | adding the first item to the cart |
product2 | adding the first item to the cart |
cart | visiting the page with selected products |
delivery_choice | visiting the page with the choice of delivery method |
delivery_courier | choice of the first delivery method |
delivery_pickup | choice of the second delivery method |
payment_choice | visiting the page with the choice of payment method |
payment_card | choice of the first delivery method |
payment_cash | choice of the second delivery method |
payment_done | successful purchase |