VLG Data Engineering
  • Blog
  • About
VLG Data Engineering

tidyverse


Adding totals and subtotals rows with pandas or the tidyverse

 Posted on October 18, 2020

When dealing with a dataframe, generating aggregate data is a very common task. In my experience, presenting the summary statistics for the whole population or for subgroups directly in the dataframe can be useful, if not necessary. Today, I present my recipe to achieve this with the pandas and tidyverse packages. [Read More]
python  r  pandas  tidyverse  total row  subtotals  aggregate  groupby 

Vincent Le Goualher  • © 2023  •  VLG Data Engineering

Hugo v0.110.0 powered  •  Theme Beautiful Hugo adapted from Beautiful Jekyll