Using tabula I read pdf file and got a table:
data = {'country_code': [123, 124, 125, 127, 128, 'city_', 'code', 211, 221, 223, 224, 'store_', 'NA', 'code', 321, 3231, 3213, 32123],
}
what_i_have = pd.DataFrame(data)
what_i_have
There some NaN values(tha't not a problem) and some titles moved down(that is a problem).
I'd like to get something like this: P.S. names of types are not important. I just want to differ codes

