# Librerias
import pandas as pd
import numpy as np
import matplotlib.pyplot as plt
plt.rcParams['figure.dpi']= 100
import time
import csv
Estos son los grandes datasets de la investigación. Están separados por que el tamaño de la operación sería muy grande.
df_paternos = pd.read_excel('Apellidos/apellidos_paternos.xlsx', index_col=0, usecols = 'A:D',engine="openpyxl")
df_maternos = pd.read_excel('Apellidos/apellidos_maternos.xlsx', index_col=0, usecols = 'A:D',engine="openpyxl")
df_adp = pd.read_csv('ADP.csv')
df_contrata = pd.read_csv('Febrero2020/PersonalContrata.csv', index_col=0)
df_planta = pd.read_csv('Febrero2020/PersonalPlanta.csv', index_col=0)
df_codigotrabajo = pd.read_csv('Febrero2020/PersonalCodigotrabajo.csv', index_col=0)
df_honorarios = pd.read_csv('Febrero2020/PersonalHonorarios.csv', index_col=0)
df_instituciones = pd.read_csv('Acronimos Organismos.csv', index_col=0, encoding="ISO-8859-1", delimiter =';')
#Remove tildes
cols = df_paternos.select_dtypes(include=[np.object]).columns
df_paternos[cols] =df_paternos[cols].apply(lambda x: x.str.normalize('NFKD').str.encode('ascii', errors='ignore').str.decode('utf-8'))
#cols = df_maternos.select_dtypes(include=[np.object]).columns
#df_maternos[cols] =df_maternos[cols].apply(lambda x: x.str.normalize('NFKD').str.encode('ascii', errors='ignore').str.decode('utf-8'))
#cols = df_adp.select_dtypes(include=[np.object]).columns
#df_adp[cols] =df_adp[cols].apply(lambda x: x.str.normalize('NFKD').str.encode('ascii', errors='ignore').str.decode('utf-8'))
cols = df_contrata.select_dtypes(include=[np.object]).columns
df_contrata[cols] =df_contrata[cols].apply(lambda x: x.str.normalize('NFKD').str.encode('ascii', errors='ignore').str.decode('utf-8'))
cols = df_codigotrabajo.select_dtypes(include=[np.object]).columns
df_codigotrabajo[cols] =df_codigotrabajo[cols].apply(lambda x: x.str.normalize('NFKD').str.encode('ascii', errors='ignore').str.decode('utf-8'))
cols = df_honorarios.select_dtypes(include=[np.object]).columns
df_honorarios[cols] =df_honorarios[cols].apply(lambda x: x.str.normalize('NFKD').str.encode('ascii', errors='ignore').str.decode('utf-8'))
len(set(df_paternos['COMUNA']))
343
#Tomar aquellos con una frecuencia mayor a 2 personas
pd.options.display.float_format = '{:,.2f}'.format
df_paternos['AP PATERNO'] = df_paternos['AP PATERNO'].str.upper()
df_paternos_region = df_paternos[df_paternos['AP PATERNO'].notna()]
df_paternos_region = df_paternos_region.groupby(['REG','AP PATERNO']).agg({'CANTIDAD': "sum"}).sort_values(by=['CANTIDAD'], ascending=False)
df_paternos_region = df_paternos_region[df_paternos_region['CANTIDAD'] > 1]
df_paternos_region['CANTIDAD'] = df_paternos_region['CANTIDAD'].astype(int)
df_paternos_region = df_paternos_region.reset_index(level=['REG'])
df_paternos_region
REG | CANTIDAD | |
---|---|---|
AP PATERNO | ||
GONZALEZ | 13.00 | 172857 |
MUNOZ | 13.00 | 119926 |
DIAZ | 13.00 | 90809 |
ROJAS | 13.00 | 86148 |
PEREZ | 13.00 | 71250 |
... | ... | ... |
BURATOVIC | 5.00 | 2 |
FELLAY | 10.00 | 2 |
POMEROY | 13.00 | 2 |
ENDRUSSAT | 10.00 | 2 |
FONCHZIK | 10.00 | 2 |
148415 rows × 2 columns
pd.options.display.float_format = '{:,.2f}'.format
df_paternos_total = df_paternos_region.groupby(['AP PATERNO']).agg({'CANTIDAD': "sum"}).sort_values(by=['CANTIDAD'], ascending=False)
df_paternos_total['PORCENTAJE'] = (df_paternos_total['CANTIDAD']/df_paternos_total['CANTIDAD'].sum())
df_paternos_total['CANTIDAD'] = df_paternos_total['CANTIDAD'].astype(int)
df_paternos_total = df_paternos_total.dropna()
df_paternos_total = df_paternos_total[df_paternos_total['CANTIDAD'] > 1]
df_paternos_total.head(20)
CANTIDAD | PORCENTAJE | |
---|---|---|
AP PATERNO | ||
GONZALEZ | 444542 | 0.02 |
MUNOZ | 349675 | 0.02 |
ROJAS | 249660 | 0.01 |
DIAZ | 246901 | 0.01 |
PEREZ | 196733 | 0.01 |
SOTO | 177160 | 0.01 |
CONTRERAS | 167004 | 0.01 |
SILVA | 157327 | 0.01 |
SEPULVEDA | 153280 | 0.01 |
MARTINEZ | 152469 | 0.01 |
MORALES | 149660 | 0.01 |
RODRIGUEZ | 147724 | 0.01 |
LOPEZ | 145039 | 0.01 |
FUENTES | 139022 | 0.01 |
TORRES | 137342 | 0.01 |
HERNANDEZ | 137195 | 0.01 |
ARAYA | 136972 | 0.01 |
FLORES | 133056 | 0.01 |
CASTILLO | 131137 | 0.01 |
ESPINOZA | 130596 | 0.01 |
%store -r df_join_adp
region_codes = {'Region Metropolitana de Santiago':13,
'Region de Antofagasta':2,
'Region de Arica y Parinacota':15,
'Region de Atacama':3,
'Region de Aysen':11,
'Region de Coquimbo':4,
'Region de La Araucania':9,
'Region de Los Lagos':10,
'Region de Los Rios':14,
'Region de Magallanes':12,
'Region de Nuble':16,
'Region de OHiggins':6,
'Region de Tarapaca':1,
'Region de Valparaiso':5,
'Region del Biobio':8,
'Region del Maule':7}
df_join_adp['region_codes'] = df_join_adp['region'].apply(lambda x: region_codes[x])
count_regions = df_join_adp.groupby(['region','region_codes']).count()
count_regions = count_regions['index'].reset_index()
count_regions['percentage'] = count_regions['index']/count_regions['index'].sum()
%store -r planta_region
Aquí intentamos simular una MonteCarlo a nivel nacional, es decir, nuestra población seleccionada se rige por la probabilidad de ser elegidos para el servicio público en base a su porcentaje de frecuencia en la población. Vale decir, si un González está presente en la población chilena en un 2%, en una situación de igual condiciones tendría una probabilidad del 0.2 de ser elegido para ese puesto.
''' Let\'s try to model a simple montecarlo simulation using the total chilean Population'''
def MonteCarlo(population, sample_number, weights_column,
current_distint_names, iterations):
sum_distint_names = 0
higher = 0
lower = 0
equal = 0
for i in range(0, iterations):
random_weighted_sample = population.sample(n = sample_number, replace = True,
weights= weights_column, axis = 0)
distint_names = len(set(random_weighted_sample.index)) #Assuming index contains surnames
sum_distint_names += distint_names
if distint_names > current_distint_names:
higher += 1
elif distint_names < current_distint_names:
lower += 1
else:
equal += 1
output = {'Avergare Distint Names': sum_distint_names/iterations,
'Current Distint Names': current_distint_names,
'# MonteCarlo\'s Distint Names > Current Distint Names': higher,
'# MonteCarlo\'s Distint Names < Current Distint Names': lower,
'# MonteCarlo\'s Distint Names = Current Distint Names': equal,
'P(MonteCarlo\'s Distint Names > Current Distint Names)': higher/iterations,
'P(MonteCarlo\'s Distint Names < Current Distint Names)': lower/iterations,
'P(MonteCarlo\'s Distint Names = Current Distint Names)': equal/iterations,
'Iterations': iterations
}
return output
Aquí intentamos simular una MonteCarlo a nivel regional, es decir, nuestra población seleccionada se rige por la probabilidad de ser elegidos para el servicio público en base a su porcentaje de frecuencia en la población regional. Vale decir, si un González está presente en la región metropolitana en un 2%, en una situación de igual condiciones tendría una probabilidad del 0.2 de ser elegido para ese puesto.
''' Let\'s try to model a simple montecarlo simulation using the chilean population divided by region'''
def Regional_MonteCarlo(population_by_region, sample_number, current_distint_names, iterations, distribution):
sum_distint_names = 0
higher = 0
lower = 0
equal = 0
for i in range(0, iterations):
sample_by_region = []
for index, row in distribution.iterrows():
n_by_region = int(sample_number*row['percentage']) #Percentage of personal in each region
region_code = row['region_codes'] #Code of the region
population = population_by_region[population_by_region['REG'] == region_code] #Getting only region's surnames
weight = population['CANTIDAD']/population['CANTIDAD'].sum() # Proportion of each surname
random_weighted_sample = population.sample(n = n_by_region,
replace = True,
weights= weight,
axis = 0)
sample_by_region.append(random_weighted_sample)
for j in range(0, len(sample_by_region)):
if j != 0:
sample_by_region[0] = sample_by_region[0].append(sample_by_region[j], ignore_index = False)
distint_names = len(set(sample_by_region[0].index)) #Assuming index contains surnames
sum_distint_names += distint_names
if distint_names > current_distint_names:
higher += 1
elif distint_names < current_distint_names:
lower += 1
else:
equal += 1
output = {'Avergare Distint Names': sum_distint_names/iterations, 'Current Distint Names': distint_names,
'# MonteCarlo\'s Distint Names > Current Distint Names': higher,
'# MonteCarlo\'s Distint Names < Current Distint Names': lower,
'# MonteCarlo\'s Distint Names = Current Distint Names': equal,
'P(MonteCarlo\'s Distint Names > Current Distint Names)': higher/iterations,
'P(MonteCarlo\'s Distint Names < Current Distint Names)': lower/iterations,
'P(MonteCarlo\'s Distint Names = Current Distint Names)': equal/iterations,
'Iterations': iterations
}
return output
ADP = National_MonteCarlo(df_paternos_total, 768, 'PORCENTAJE', 520, 100)
ADP
ADP_regional = Regional_MonteCarlo(df_paternos_region, 768, 520, 1000000, count_regions)
ADP_regional
{'Avergare Distint Names': 430.958348, 'Current Distint Names': 440, "# MonteCarlo's Distint Names > Current Distint Names": 0, "# MonteCarlo's Distint Names < Current Distint Names": 1000000, "# MonteCarlo's Distint Names = Current Distint Names": 0, "P(MonteCarlo's Distint Names > Current Distint Names)": 0.0, "P(MonteCarlo's Distint Names < Current Distint Names)": 1.0, "P(MonteCarlo's Distint Names = Current Distint Names)": 0.0, 'Iterations': 1000000}
%store -r planta_complete
distint_names_planta = len(set(planta_complete['Apellido Paterno'].value_counts().index))
organismos = set(planta_complete['Organismo'].value_counts().index)
organismos
dict_organismos = {}
for organismo in organismos:
df_organismo = planta_complete[planta_complete['Organismo'] == organismo]
distint_names_organismo = len(set(df_organismo['Apellido Paterno'].value_counts().index))
total = len(df_organismo['Apellido Paterno'])
region = df_organismo.head(1)['region'].item()
code_region = region_codes[region]
population = df_paternos_region[df_paternos_region['REG'] == code_region]
population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
output = National_MonteCarlo(population, total, 'PORCENTAJE', distint_names_organismo, 10)
dict_organismos[organismo] = output
<ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum() <ipython-input-12-6088d3c6b0ac>:16: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
data = [ADP, ADP_regional]
columns = ['ADP', 'ADP_regional']
for key, value in dict_organismos.items():
data.append(value)
columns.append(key)
total = pd.DataFrame(data, index = columns)
total
total['Variación'] = round(total['Current Distint Names']/total['Avergare Distint Names']*100-100,2)
total.to_csv("montecarlo_i100.csv")
total.sort_values(by=["P(MonteCarlo's Distint Names < Current Distint Names)"], ascending=False)
%store -r planta_complete
%store -r grupos
#distint_names_planta = len(set(planta_complete['Apellido Paterno'].value_counts().index))
#organismos = set(planta_complete['Organismo'].value_counts().index)
#organismos
dict_estamentos = {}
for grupo in grupos:
target_grupo = planta_complete[planta_complete['Tipo Estamento'].isin(grupos[grupo])]
total_grupo = len(target_grupo)
for region in region_codes:
target_region = target_grupo[target_grupo['region'] == region]
total_grupo = len(target_region)
distint_names_estamento = len(set(target_region['Apellido Paterno'].value_counts().index))
code_region = region_codes[region]
print(grupo, ': ', region_codes[region], '-' ,region, ' ', distint_names_estamento, ' ', total_grupo)
population = df_paternos_region[df_paternos_region['REG'] == code_region]
population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
output = National_MonteCarlo(population, total_grupo, 'PORCENTAJE', distint_names_estamento, 1000000)
statement = grupo + ',' + region
dict_estamentos[statement] = output
ProfesionalesEducacion : 13 - Region Metropolitana de Santiago 1784 9714
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 2 - Region de Antofagasta 978 3180
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 15 - Region de Arica y Parinacota 497 975
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 3 - Region de Atacama 354 742
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 11 - Region de Aysen 193 268
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 4 - Region de Coquimbo 561 2082
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 9 - Region de La Araucania 829 2619
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 10 - Region de Los Lagos 981 4067
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 14 - Region de Los Rios 443 913
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 12 - Region de Magallanes 20 21
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 16 - Region de Nuble 561 2170
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 6 - Region de OHiggins 821 3758
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 1 - Region de Tarapaca 172 235
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 5 - Region de Valparaiso 1037 3695
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 8 - Region del Biobio 976 4930
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
ProfesionalesEducacion : 7 - Region del Maule 795 4266
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 13 - Region Metropolitana de Santiago 1731 11502
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 2 - Region de Antofagasta 718 2173
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 15 - Region de Arica y Parinacota 180 246
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 3 - Region de Atacama 313 735
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 11 - Region de Aysen 252 535
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 4 - Region de Coquimbo 480 1818
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 9 - Region de La Araucania 634 1715
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 10 - Region de Los Lagos 613 2135
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 14 - Region de Los Rios 431 953
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 12 - Region de Magallanes 287 652
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 16 - Region de Nuble 380 1181
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 6 - Region de OHiggins 615 2360
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 1 - Region de Tarapaca 234 353
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 5 - Region de Valparaiso 898 3622
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 8 - Region del Biobio 812 3949
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoInferior : 7 - Region del Maule 589 2652
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 13 - Region Metropolitana de Santiago 71 75
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 2 - Region de Antofagasta 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 15 - Region de Arica y Parinacota 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 3 - Region de Atacama 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 11 - Region de Aysen 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 4 - Region de Coquimbo 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 9 - Region de La Araucania 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 10 - Region de Los Lagos 1 1
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 14 - Region de Los Rios 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 12 - Region de Magallanes 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 16 - Region de Nuble 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 6 - Region de OHiggins 1 1
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 1 - Region de Tarapaca 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 5 - Region de Valparaiso 2 2
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 8 - Region del Biobio 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperior : 7 - Region del Maule 0 0
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 13 - Region Metropolitana de Santiago 1694 9973
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 2 - Region de Antofagasta 293 537
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 15 - Region de Arica y Parinacota 210 294
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 3 - Region de Atacama 322 658
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 11 - Region de Aysen 291 738
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 4 - Region de Coquimbo 460 1586
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 9 - Region de La Araucania 781 2101
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 10 - Region de Los Lagos 726 2467
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 14 - Region de Los Rios 471 1132
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 12 - Region de Magallanes 347 705
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 16 - Region de Nuble 417 1392
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 6 - Region de OHiggins 525 1919
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 1 - Region de Tarapaca 272 414
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 5 - Region de Valparaiso 800 3082
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 8 - Region del Biobio 843 4325
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Tecnicos : 7 - Region del Maule 603 2880
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 13 - Region Metropolitana de Santiago 35 35
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 2 - Region de Antofagasta 5 5
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 15 - Region de Arica y Parinacota 3 3
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 3 - Region de Atacama 6 6
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 11 - Region de Aysen 9 9
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 4 - Region de Coquimbo 12 12
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 9 - Region de La Araucania 18 18
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 10 - Region de Los Lagos 18 21
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 14 - Region de Los Rios 8 8
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 12 - Region de Magallanes 10 10
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 16 - Region de Nuble 16 16
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 6 - Region de OHiggins 22 26
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 1 - Region de Tarapaca 3 3
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 5 - Region de Valparaiso 24 25
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 8 - Region del Biobio 23 24
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Alcaldes : 7 - Region del Maule 18 20
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 13 - Region Metropolitana de Santiago 1879 8030
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 2 - Region de Antofagasta 377 691
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 15 - Region de Arica y Parinacota 212 285
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 3 - Region de Atacama 287 471
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 11 - Region de Aysen 285 574
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 4 - Region de Coquimbo 479 1150
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 9 - Region de La Araucania 638 1419
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 10 - Region de Los Lagos 726 1885
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 14 - Region de Los Rios 431 800
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 12 - Region de Magallanes 302 545
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 16 - Region de Nuble 400 861
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 6 - Region de OHiggins 498 1187
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 1 - Region de Tarapaca 223 296
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 5 - Region de Valparaiso 942 2835
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 8 - Region del Biobio 831 3026
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Profesionales : 7 - Region del Maule 579 1876
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 13 - Region Metropolitana de Santiago 891 1961
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 2 - Region de Antofagasta 100 116
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 15 - Region de Arica y Parinacota 75 85
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 3 - Region de Atacama 168 237
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 11 - Region de Aysen 126 142
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 4 - Region de Coquimbo 158 232
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 9 - Region de La Araucania 248 350
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 10 - Region de Los Lagos 230 320
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 14 - Region de Los Rios 138 162
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 12 - Region de Magallanes 128 161
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 16 - Region de Nuble 153 212
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 6 - Region de OHiggins 268 420
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 1 - Region de Tarapaca 82 96
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 5 - Region de Valparaiso 337 521
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 8 - Region del Biobio 289 446
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Directivos : 7 - Region del Maule 218 317
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 13 - Region Metropolitana de Santiago 152 198
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 2 - Region de Antofagasta 21 24
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 15 - Region de Arica y Parinacota 29 31
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 3 - Region de Atacama 14 14
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 11 - Region de Aysen 16 16
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 4 - Region de Coquimbo 24 25
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 9 - Region de La Araucania 27 28
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 10 - Region de Los Lagos 31 31
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 14 - Region de Los Rios 11 11
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 12 - Region de Magallanes 30 33
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 16 - Region de Nuble 14 14
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 6 - Region de OHiggins 18 18
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 1 - Region de Tarapaca 39 40
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 5 - Region de Valparaiso 117 142
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 8 - Region del Biobio 65 74
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Fiscalizadores : 7 - Region del Maule 24 27
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 13 - Region Metropolitana de Santiago 1122 2637
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 2 - Region de Antofagasta 79 102
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 15 - Region de Arica y Parinacota 50 65
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 3 - Region de Atacama 4 4
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 11 - Region de Aysen 49 115
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 4 - Region de Coquimbo 191 245
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 9 - Region de La Araucania 174 232
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 10 - Region de Los Lagos 150 199
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 14 - Region de Los Rios 185 241
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 12 - Region de Magallanes 108 173
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 16 - Region de Nuble 160 226
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 6 - Region de OHiggins 193 264
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 1 - Region de Tarapaca 30 34
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 5 - Region de Valparaiso 347 577
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 8 - Region del Biobio 354 593
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
EstamentoSuperiorSalud : 7 - Region del Maule 293 499
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 13 - Region Metropolitana de Santiago 351 585
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 2 - Region de Antofagasta 7 7
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 15 - Region de Arica y Parinacota 2 2
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 3 - Region de Atacama 37 41
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 11 - Region de Aysen 12 12
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 4 - Region de Coquimbo 59 71
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 9 - Region de La Araucania 64 70
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 10 - Region de Los Lagos 94 109
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 14 - Region de Los Rios 30 32
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 12 - Region de Magallanes 29 35
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 16 - Region de Nuble 40 47
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 6 - Region de OHiggins 95 129
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 1 - Region de Tarapaca 7 8
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 5 - Region de Valparaiso 112 146
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 8 - Region del Biobio 87 104
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
Jefaturas : 7 - Region del Maule 72 90
<ipython-input-25-808bd1ab11a8>:25: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead See the caveats in the documentation: https://pandas.pydata.org/pandas-docs/stable/user_guide/indexing.html#returning-a-view-versus-a-copy population['PORCENTAJE'] = population['CANTIDAD']/population['CANTIDAD'].sum()
1488
data2 = []
columns2 = []
for key, value in dict_estamentos.items():
data2.append(value)
columns2.append(key)
total = pd.DataFrame(data2, index = columns2)
total
Avergare Distint Names | Current Distint Names | # MonteCarlo's Distint Names > Current Distint Names | # MonteCarlo's Distint Names < Current Distint Names | # MonteCarlo's Distint Names = Current Distint Names | P(MonteCarlo's Distint Names > Current Distint Names) | P(MonteCarlo's Distint Names < Current Distint Names) | P(MonteCarlo's Distint Names = Current Distint Names) | Iterations | |
---|---|---|---|---|---|---|---|---|---|
ProfesionalesEducacion,Region Metropolitana de Santiago | 2,164.08 | 1784 | 1000000 | 0 | 0 | 1.00 | 0.00 | 0.00 | 1000000 |
ProfesionalesEducacion,Region de Antofagasta | 972.66 | 978 | 377243 | 602563 | 20194 | 0.38 | 0.60 | 0.02 | 1000000 |
ProfesionalesEducacion,Region de Arica y Parinacota | 487.19 | 497 | 201798 | 774789 | 23413 | 0.20 | 0.77 | 0.02 | 1000000 |
ProfesionalesEducacion,Region de Atacama | 351.78 | 354 | 398255 | 565015 | 36730 | 0.40 | 0.57 | 0.04 | 1000000 |
ProfesionalesEducacion,Region de Aysen | 180.59 | 193 | 28397 | 960570 | 11033 | 0.03 | 0.96 | 0.01 | 1000000 |
... | ... | ... | ... | ... | ... | ... | ... | ... | ... |
Jefaturas,Region de OHiggins | 100.23 | 95 | 861428 | 94875 | 43697 | 0.86 | 0.09 | 0.04 | 1000000 |
Jefaturas,Region de Tarapaca | 7.91 | 7 | 912475 | 3539 | 83986 | 0.91 | 0.00 | 0.08 | 1000000 |
Jefaturas,Region de Valparaiso | 118.30 | 112 | 899272 | 68000 | 32728 | 0.90 | 0.07 | 0.03 | 1000000 |
Jefaturas,Region del Biobio | 87.19 | 87 | 474791 | 413868 | 111341 | 0.47 | 0.41 | 0.11 | 1000000 |
Jefaturas,Region del Maule | 72.71 | 72 | 531315 | 360468 | 108217 | 0.53 | 0.36 | 0.11 | 1000000 |
160 rows × 9 columns
total.to_csv("montecarlo_estamentos1000000.csv")
import plotly.graph_objects as go
labels = ['Organisms', 'Estates']
na = [1,
2]
fig = go.Figure(data=[
go.Bar(name='non-significant', x=labels, y=na, text=na, textposition='auto',),
#go.Bar(name='nepotism p value < 0.01', x=labels, y=n3, text=n3, textposition='auto',),
#go.Bar(name='nepotism 0.01 < p value < 0.05', x=labels, y=n2, text=n2, textposition='auto',),
#go.Bar(name='nepotism 0.05 < p value < 0.1', x=labels, y=n, text=n, textposition='auto',),
#go.Bar(name='overrepresented p value < 0.01', x=labels, y=s3, text=s3, textposition='auto',),
#go.Bar(name='overrepresented 0.01 < p value < 0.05', x=labels, y=s2, text=s2, textposition='auto',),
#go.Bar(name='overrepresented 0.05 < p value < 0.1', x=labels, y=s, text=s, textposition='auto',)
])
# Change the bar mode
fig.update_layout(
title='Number of Significant and Non-significant Clusters ',
xaxis_tickfont_size=14,
yaxis=dict(
title='Number of clusters',
titlefont_size=16,
tickfont_size=14,
),
barmode='group',
bargap=0.15, # gap between bars of adjacent location coordinates.
bargroupgap=0.1 # gap between bars of the same location coordinate.
)
fig.show()