Path: blob/main/Trabajo_grupal/WG5/Grupo_1_py.ipynb
2714 views
Kernel: Python 3 (ipykernel)
In [1]:
Out[1]:
Collecting pyreadstat
Downloading pyreadstat-1.1.9-cp39-cp39-win_amd64.whl (2.4 MB)
Requirement already satisfied: pandas>=1.2.0 in c:\users\venso\anaconda3\lib\site-packages (from pyreadstat) (1.4.2)
Requirement already satisfied: numpy>=1.18.5 in c:\users\venso\anaconda3\lib\site-packages (from pandas>=1.2.0->pyreadstat) (1.21.5)
Requirement already satisfied: python-dateutil>=2.8.1 in c:\users\venso\anaconda3\lib\site-packages (from pandas>=1.2.0->pyreadstat) (2.8.2)
Requirement already satisfied: pytz>=2020.1 in c:\users\venso\anaconda3\lib\site-packages (from pandas>=1.2.0->pyreadstat) (2021.3)
Requirement already satisfied: six>=1.5 in c:\users\venso\anaconda3\lib\site-packages (from python-dateutil>=2.8.1->pandas>=1.2.0->pyreadstat) (1.16.0)
Installing collected packages: pyreadstat
Successfully installed pyreadstat-1.1.9
Collecting savReaderWriter
Downloading savReaderWriter-3.4.2.tar.gz (50.9 MB)
Building wheels for collected packages: savReaderWriter
Building wheel for savReaderWriter (setup.py): started
Building wheel for savReaderWriter (setup.py): still running...
Building wheel for savReaderWriter (setup.py): still running...
Building wheel for savReaderWriter (setup.py): finished with status 'done'
Created wheel for savReaderWriter: filename=savReaderWriter-3.4.2-py3-none-any.whl size=51142028 sha256=77e73541730b42e46e25f8ffc1d73a9e7e213fffb1f2e03be3fc8a5c22092f24
Stored in directory: c:\users\venso\appdata\local\pip\cache\wheels\cb\a1\bf\2b0abba03732dda64bac1510f20b5d34cae4fe071dc0699336
Successfully built savReaderWriter
Installing collected packages: savReaderWriter
Successfully installed savReaderWriter-3.4.2
In [2]:
Out[2]:
Requirement already satisfied: savReaderWriter in c:\users\venso\anaconda3\lib\site-packages (3.4.2)
In [3]:
In [7]:
In [29]:
Out[29]:
In [30]:
In [31]:
Out[31]:
year False
MES False
CONGLOME False
VIVIENDA False
HOGAR False
CODPERSO False
UBIGEO False
DOMINIO False
ESTRATO False
P201P False
P203 False
P203A True
P203B True
P204 True
P205 True
P206 True
P207 True
P208A True
P208B True
P209 True
dtype: bool
In [32]:
Out[32]:
Etiqueta de variable P203 = ¿Cuál es la relación de parentesco con el jefe(a) del hogar
Etiqueta de variable P204 = ¿Es miembro del hogar?
In [33]:
Out[33]:
Etiquetas de valores de variable P203 = {0.0: 'Panel', 1.0: 'Jefe/Jefa', 2.0: 'Esposo(a)/compañero(a)', 3.0: 'Hijo(a)/Hijastro(a)', 4.0: 'Yerno/Nuera', 5.0: 'Nieto(a)', 6.0: 'Padres/Suegros', 7.0: 'Otros parientes', 8.0: 'Trabajador Hogar', 9.0: 'Pensionista', 10.0: 'Otros no parientes', 11.0: 'Hermano(a)'}
Etiquetas de valores de variable P204 = {1.0: 'Si', 2.0: 'No'}
In [34]:
In [20]:
Out[20]:
In [45]:
In [26]:
Out[26]:
In [27]:
Out[27]:
In [ ]: