alexanderquispe / BiLab_Summer_Python

Python course for Business Lab-PUCP
MIT License
0 stars 7 forks source link

#127 Upload file to group 4 #143

Closed apla16 closed 8 months ago

apla16 commented 8 months ago

I upload file to group 4

apla16 commented 8 months ago

To this work we have to use a command to import the data online to begin the work because this set of imports is common in projects that involve file manipulation, data analysis, and possibly obtaining resources from the web. Also we have to install 2 package of libraries "pyreadstat" and "savReadWriter" to have access to Endes 2019 in this case. Those libraries are essential when you work with spss statistical data because help you to integrate the work at Python. And for read the SPSS file we use read_sav function.

In this opportunity, we use .loc which is a method used in pandas and is used for indexing and selecting data in a DataFrame. Also we use CASEID that is a crucial column that provides a unique identification for each case in a data set. We discovered that when we use print the information it ptovides is messy, so we only use the code to appear a table. In the question 6, we eliminate one of the columns what they ask because in the data of 2018 doesn't appear that column.