-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.py
More file actions
20 lines (17 loc) · 731 Bytes
/
main.py
File metadata and controls
20 lines (17 loc) · 731 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import matplotlib.pyplot as plt
import numpy as np
import pandas as pd
import MyModules.get_data as gd
import MyModules.generate_graph as gg
from pathlib import Path
import MyModules.git_push as gp
# Uncomment the following lines of code while executing for the first time
gd.get_data()
gd.clean_data()
df = pd.read_excel(gd.CLEAN_DATA)
gg.generate_male_female_statewise_graph(df,Path('./Visualisations/MaleFemaleStatewise.png'))
gg.generate_statewise_death_recovery_graph(df,Path('./Visualisations/statewiseStatusGraph.png'))
gg.generate_death_recovery_total_plot(df,Path('./Visualisations/deathandrecoveryandtotal.png'))
gg.generate_age_based_graph(df,Path('./Visualisations/AgeHist.png'))
gp.push("update")
print("FINISH")