Advertisement
sesquiipedalian

Untitled

Jul 29th, 2023
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. import pandas as pd
  2.  
  3. def total_volume(df):
  4. total_vol = df["Volume"].sum()
  5. return total_vol
  6.  
  7. def main():
  8. df = pd.read_csv("Equity.csv")
  9. total_vol = total_volume(df)
  10. print(total_vol)
  11.  
  12. if __name__ == '__main__':
  13. main()
  14.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement