Skip to content
Untitled workspace
Here with Yuliia
Let's analyze ticket sales!
DataFrameas
yuliia
variable
-- Select the details and location of different events
SELECT DATE_PART('month', saletime) AS month, COUNT(*) AS cnt
FROM public.sales
GROUP BY 1
ORDER BY 1
import plotly.express as px
fig = px.bar(yuliia, x="month", y="cnt")
fig.show()