# ---
# jupyter:
#   jupytext:
#     text_representation:
#       extension: .py
#       format_name: light
#       format_version: '1.5'
#       jupytext_version: 1.14.4
#   kernelspec:
#     display_name: Python 3
#     language: python
#     name: python3
# ---

# # VISUALISING THE EFFECTS OF COVID19 ON TRADE

# ## Imports

# +

import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
import openpyxl #must be installed
from importlib import reload 
plt=reload(plt)
# -

# ## 1. Read the data that is in the file and display it

df = pd.read_csv("data.csv")
df

# ## 2. Getting the data for each year
# * **2015**
#     * (imports and exports value)
# * **2016**
#     * (imports and exports value)
# * **2017**
#     * (imports and exports value)
# * **2018**
#     * (imports and exports value)
# * **2019**
#     * (imports and exports value)
# * **2020**
#     * (imports and exports value)
#

# ### 2015

# imports
imp2015 = np.array(df.loc[(df.Direction =="Reimpor") & (df.Year == 2015)].Value)
# exports
exp2015 = np.array(df.loc[(df.Direction =="Exports") & (df.Year == 2015)].Value)


# +
### 2016
# -



# +
### 2017
# -



# +
### 2018
# -



# +
### 2019
# -

# ### 2020



StarcoderdataJupyterScriptsDedupFiltered