How to calculate average minutes of each sessions of users and number of sessions in a day in pyspark?

后端 未结 0 1281
滥情空心
滥情空心 2021-01-16 22:26

I have a clickstream data of users having id, timestamp ,events

from pyspark.sql import SparkSession
from pyspark.sql.types import *
spark = SparkSession\\
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题