databricks-logo

Python TWS Session Tracking

(Python)
Loading...

TWS session tracking in Python

2

Collecting dbldatagen Using cached dbldatagen-0.4.0.post1-py3-none-any.whl.metadata (9.9 kB) Using cached dbldatagen-0.4.0.post1-py3-none-any.whl (122 kB) Installing collected packages: dbldatagen Successfully installed dbldatagen-0.4.0.post1 [notice] A new release of pip is available: 24.0 -> 25.0.1 [notice] To update, run: pip install --upgrade pip
3

4

5

7

    +-------+------+-------------+-----------+---------------+--------------+ |user_id|status|session_value|login_count|page_view_count|purchase_count| +-------+------+-------------+-----------+---------------+--------------+ | user1|ACTIVE| 1| 0| 0| 1| | user1|ACTIVE| 7| 0| 1| 1| | user1|ACTIVE| 18| 0| 1| 2| | user1|ACTIVE| 34| 1| 1| 2| | user1|ACTIVE| 55| 1| 2| 2| | user1|ACTIVE| 81| 1| 3| 2| | user1|ACTIVE| 112| 1| 4| 2| | user1|ACTIVE| 148| 1| 5| 2| | user1|ACTIVE| 189| 1| 6| 2| | user1|ACTIVE| 235| 1| 6| 3| | user1|ACTIVE| 286| 2| 6| 3| | user1|ACTIVE| 342| 2| 7| 3| | user1|ACTIVE| 403| 2| 8| 3| | user1|ACTIVE| 469| 2| 9| 3| | user1|ACTIVE| 540| 2| 10| 3| | user1|ACTIVE| 616| 2| 11| 3| | user1|ACTIVE| 697| 2| 12| 3| | user1|ACTIVE| 783| 2| 13| 3| | user1|ACTIVE| 874| 3| 13| 3| | user1|ACTIVE| 970| 3| 14| 3| +-------+------+-------------+-----------+---------------+--------------+ only showing top 20 rows
    ;