Skip to content

Instantly share code, notes, and snippets.

@1ambda
Created December 27, 2021 12:28
Embed
What would you like to do?
dfListingCalendarSales = dfListingCalendar\
.where(col("available") == lit('f'))\
.groupBy(col("listing_id"))\
.agg(sum("price").alias("price_order"), count("*").alias("count_order"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment