<jupyter_start><jupyter_text>An Analysis of Covid-19 in Lebanon The data is from [European Centre for Disease Prevention and Control](https://www.ecdc.europa.eu/en/publications-data/download-todays-data-geographic-distribution-covid-19-cases-worldwide) ![covid image](https://www.euromesco.net/wp-content/uploads/2020/06/LEBANON-Demonstrators-take-part-in-a-protest-against-the-growing-economic-hardship-1280x440.jpg) Figure 1: Citizens of Lebanon expressing love for their country via masks. Covid-19 began in March 2020 and has affected countries all around the world, including Lebanon. Covid-19 is an airborne spread disease that affects all ages.<jupyter_code>%matplotlib inline
import pandas
df=pandas.read_excel('s3://samia-ia241-spring2021/COVID-19-geographic-disbtribution-worldwide-2020-12-14.xls')
df[:5]<jupyter_output><empty_output><jupyter_text>Question 1: How many cases have been confirmed in Lebanon?<jupyter_code>Lebanon_data=df.loc[df['countriesAndTerritories']=='Lebanon']
Lebanon_data[:10]
Lebanon_cases=Lebanon_data.groupby('dateRep').sum()['cases']
Lebanon_cases.plot()<jupyter_output><empty_output><jupyter_text>In January 2020 to July 2020, about no cases were reported. In September of 2020, cases began to spike at a fast rate with about 1000 confirmed cases. About 2000 positive cases in November 2020 were reported. Looking at the line chart, cases continued to increase, reaching to at least 3000 positive cases in Lebanon.  Question 2: How Many Covid Related Deaths are there in Lebanon?<jupyter_code>Lebanon_deaths=Lebanon_data.groupby('dateRep').sum()['deaths']
Lebanon_deaths.plot()<jupyter_output><empty_output><jupyter_text>In this line chart above, there has been a maximum of 25 covid related deaths. Between the months of March 2020 and September 2020, the number of reported deaths were under 10, but as of November 2020, Lebanon experienced a high spike of about 25 deaths.  Question 3: How are the cases in Lebanon compared to other countries across Europe?<jupyter_code>Europe_data=df.loc[df['continentExp']=='Europe']
Europe_data[:10]<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.0944022770398482, 'fraction_numerical': 0.046489563567362426, 'mean_word_length': 6.669090909090909, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 1, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '4', 'dir': 'jupyter-structured-clean-dedup', 'id': '620578', 'license': 'MIT', 'n_tokens_mistral': 742, 'n_tokens_neox': 637, 'n_words': 199, 'path': 'Final Project.ipynb', 'repo_name': 'paigesamia/IA241', 'size': '2108'}