Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import pandas as pd
- def total_volume(df):
- total_vol = df["Volume"].sum()
- return total_vol
- def main():
- df = pd.read_csv("Equity.csv")
- total_vol = total_volume(df)
- print(total_vol)
- if __name__ == '__main__':
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement