This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am themagiulio on github. | |
* I am themagiulio (https://keybase.io/themagiulio) on keybase. | |
* I have a public key ASBCgQ6UAezv4Kf1O-k1rfYW1NoFg4yypW-LuxZlqThMKwo | |
To claim this, I am signing this object: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import os | |
import platform | |
import inquirer | |
from git import Repo, remote | |
from pynpm import NPMPackage as npm | |
class Progress(remote.RemoteProgress): | |
def update(self, op_code, cur_count, max_count=None, message=''): | |
print(self._cur_line) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from matplotlib.dates import DateFormatter | |
import matplotlib.pyplot as plt | |
import pandas as pd | |
import os | |
source = 'https://www.ecdc.europa.eu/sites/default/files/documents/COVID-19-geographic-disbtribution-worldwide-2020-03-18.xls' | |
index = 'DateRep' | |
df = pd.read_excel(source, index_col=index) | |
df_it = df.loc[df['Countries and territories'] == 'Italy'][::-1] | |
X = df_it.index |