text_plain_output_1.png
import numpy as np

import numpy as np # linear algebra

import pandas as pd

import pandas as pd # data processing, CSV file I/O (e.g. pd.read_csv)

file = '../input/COTAHIST_A2009_to_A2018P.csv'
df = pd.read_csv(file)

df.drop(df.columns[df.columns.str.contains('unnamed', case=False)], axis=1, inplace=True)

codBDI = df[['CODBDI']]
codBDI = np.unique(codBDI)
codBDI

codESPECI = df[['ESPECI']]
codESPECI = np.unique(codESPECI)
codESPECI