Skip to content

HeitorLouzeiroRepositoryIFPI/pandas-activity-titanic-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contributors Forks Stargazers Issues MIT License LinkedIn


Pandas Activity Titanic Base



Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Usage
  3. Getting Started
  4. Contributing
  5. Collaborators
  6. License
  7. Contact

About The Project

Activity carried out to train my knowledge of statistical material.

1 - download the Titanic base: url = 'https://web.stanford.edu/class/archive/cs/cs109/cs109.1166/stuff/titanic.csv'

2- Identify and classify the variables:

3- Calculate the following measurements on the age of passengers:

  • a) the average
  • b) median
  • c) fashion
  • d) standard deviation
  • e) overall amplitude
  • f) coefficient of variation

4- Separate the data by Pclass and check:

  • a) Which class had the highest survival rate?
  • b) Which class had the highest average age?
  • c) rank each Age in order of homogeneity

(back to top)

Built With

  • Python

(back to top)

Prerequisites

Getting Started

Installation

  1. Clone the repo

    git clone https://github.com/HeitorLouzeiro/pandas-activity-titanic-base.git
  2. Access the project folder in terminal/cmd

    cd pandas-activity-titanic-base
  3. Create a virtualenv with Python 3.9.0.

    python -m venv venv
  4. Activate virtualenv.

    • Ubunto
    source venv/bin/activate
    • MacOs
    source venv/bin/activate
    • Windows
     venv\scripts\activate
  5. Install as dependencies.

     pip install -r requirements.txt
    • OBS. If you get an error installing a package, follow the instructions.

    • Install scipy

        pip install scipy
    • install pandas.

        pip install pandas
  6. Run one of the questions below in the terminal.

      python main.py

(back to top)

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/Improvements)
  3. Commit your Changes (git commit -m 'Add my new Enhancements')
  4. Push to the Branch (git push origin feature/Improvements)
  5. Open a Pull Request

(back to top)

Collaborators

We thank the following people who contributed to this project:

Foto do Heitor Louzeiro no GitHub
Heitor Louzeiro

(back to top)

License

Distributed under the MIT License. See LICENSE for more information.

(back to top)

Contact

Project Link: https://github.com/HeitorLouzeiro/pandas-activity-titanic-base

(back to top)

About

Activity carried out to train my knowledge of statistical material

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages