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 matplotlib.pyplot as plt | |
from matplotlib.collections import LineCollection | |
import numpy as np | |
import pandas as pd | |
url = 'https://gist.githubusercontent.com/Thiagobc23/4ccb4ea1c612d9d68921bf990ce28855/raw/6225824a6b7d5d273019c09c25cbbaa5b82009bc/dummy_data.csv' | |
df = pd.read_csv(url, index_col='ID') | |
# figure | |
# data |
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 matplotlib.pyplot as plt | |
import numpy as np | |
import pandas as pd | |
url = 'https://gist.githubusercontent.com/Thiagobc23/4ccb4ea1c612d9d68921bf990ce28855/raw/6225824a6b7d5d273019c09c25cbbaa5b82009bc/dummy_data.csv' | |
df = pd.read_csv(url, index_col='ID') | |
# figure | |
fig, ax = plt.subplots(1, figsize=(12,4), facecolor='#293952') | |
ax.set_facecolor('#293952') |
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 matplotlib.pyplot as plt | |
import numpy as np | |
import pandas as pd | |
from scipy import interpolate | |
url = 'https://gist.githubusercontent.com/Thiagobc23/4ccb4ea1c612d9d68921bf990ce28855/raw/6225824a6b7d5d273019c09c25cbbaa5b82009bc/dummy_data.csv' | |
df = pd.read_csv(url, index_col='ID') | |
# figure | |
fig, ax = plt.subplots(1, figsize=(12,4), facecolor='#293952') |
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 pandas as pd | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from matplotlib.patches import Patch | |
from pandas import Timestamp | |
##### DATA ##### | |
data = {'Task': {0: 'TSK M', | |
1: 'TSK N', | |
2: 'TSK L', |
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 pandas as pd | |
import numpy as np | |
import matplotlib.pyplot as plt | |
from matplotlib.patches import Patch | |
from pandas import Timestamp | |
##### DATA ##### | |
data = {'Task': {0: 'TSK M', | |
1: 'TSK N', | |
2: 'TSK L', |
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
# countries from https://data.worldbank.org/country | |
all_countries = ['Afghanistan', 'Albania', 'Algeria', 'American Samoa', | |
'Andorra', 'Angola', 'Antigua and Barbuda', 'Argentina', | |
'Armenia', 'Aruba', 'Australia', 'Austria', 'Azerbaijan', | |
'Bahamas, The', 'Bahrain', 'Bangladesh', 'Barbados', | |
'Belarus', 'Belgium', 'Belize', 'Benin', 'Bermuda', | |
'Bhutan', 'Bolivia', 'Bosnia and Herzegovina', 'Botswana', | |
'Brazil', 'British Virgin Islands', 'Brunei Darussalam', | |
'Bulgaria', 'Burkina Faso', 'Burundi', 'Cabo Verde', | |
'Cambodia', 'Cameroon', 'Canada', 'Cayman Islands', |
NewerOlder