By default, aggregating a column returns the name of that column. If you want to assign a new name to the aggregation, use name = (column, agg_method).
name = (column, agg_method)
Link to Google Colab notebook of this tip.
DuckDB: Simplify DataFrame Analysis with Serverless SQL
Simplifying Dataset Comparison with Datacompy
Fuzzy Joining Tables with Non-Exact Matching Entries
Your email address will not be published. Required fields are marked *
Name
Email
Website
Save my name, email, and website in this browser for the next time I comment.
Δ