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

data = pd.read_csv('../input/argentina.csv')

data.NUMBER = data.NUMBER.astype(str)
data.NUMBER = data.NUMBER.str.strip(' ')

data['DIGITO'] = data.NUMBER.map(lambda x: x[0])

index_drop = data[data.DIGITO == '0'].index.values
index_drop
data.drop(index_drop, axis=0, inplace=True)

experemental_values = data.DIGITO.value_counts()
experemental_values

data[data.DIGITO == '1'].shape[0]

data.shape

num_address = data[data['DIGITO'] != '0']
num_address.shape

type(num_address)