pandas cumulative column total I Performing arithmetic operations on pandas columns

Опубликовано: 22 Октябрь 2024
на канале: FinTech Analyst Academy
40
0

In this video, we first create a pandas data frame from multiple lists and then perform arithmetic operations including creating a column which is a cumulative total of a particular column in the given data frame. The final data frame is then written down in an excel file.

create a pandas data frame from a list
add a new column which is the sum of two columns
add a new column which is the multiple of two columns
add a new column which is the cumulative total of a column
write the final data frame to an excel file

Link to video with detailed instructions on saving a pandas data frame to an excel file:    • Writing a Pandas Data frame to Excel ...