Hi, i have a query i am trying to execute in pandasql but my jupyter environment freezes so i am assuming this is not supported. Query trying to execute:
q1="""
SELECT
DATE(Timestamp) AS date,
COUNT(DISTINCT User) AS user_count
FROM
df pc
WHERE EXISTS (
SELECT *
FROM df pc1
WHERE
pc1.User = pc.User AND
DATE(pc1.Timestamp) < DATE(pc.Timestamp)
)
GROUP BY pc.Timestamp
"""
Hi, i have a query i am trying to execute in pandasql but my jupyter environment freezes so i am assuming this is not supported. Query trying to execute:
q1=""" SELECT DATE(Timestamp) AS date, COUNT(DISTINCT User) AS user_count FROM df pc WHERE EXISTS ( SELECT * FROM df pc1 WHERE pc1.User = pc.User AND DATE(pc1.Timestamp) < DATE(pc.Timestamp) ) GROUP BY pc.Timestamp """