Last active
April 24, 2020 12:39
-
-
Save fruch/aed81eb3cf73b1bd0ebf9d227713544c to your computer and use it in GitHub Desktop.
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 requests | |
import pandas as pd | |
res = requests.get("https://data.gov.il/api/action/datastore_search?resource_id=9eedd26c-019b-433a-b28b-efcc98de378d") | |
data = res.json() | |
df = pd.DataFrame(data['result']['records']) | |
df['date'] = pd.to_datetime(df['date'], infer_datetime_format=True) | |
df.plot(figsize=(10,5), x ='date', y='isolated_today_contact_with_confirmed', kind='line') | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment