Data Analysis with Python
Notes and solutions to earn the Data Analysis with Python certification on the freeCodeCamp curriculum.
Run the scripts with Python.
cd name-of-folder
python main.py
Mean-Variance-Standard Deviation Calculator
requires
numpy
{'mean': [[3.0, 4.0, 5.0], [1.0, 4.0, 7.0], 4.0], 'variance': [[6.0, 6.0, 6.0], [0.6666666666666666, 0.6666666666666666, 0.6666666666666666], 6.666666666666667], 'standard deviation': [[2.449489742783178, 2.449489742783178, 2.449489742783178], [0.816496580927726, 0.816496580927726, 0.816496580927726], 2.581988897471611], 'max': [[6, 7, 8], [2, 5, 8], 8], 'min': [[0, 1, 2], [0, 3, 6], 0], 'sum': [[9, 12, 15], [3, 12, 21], 36]}
Demographic Data Analyzer
requires
pandas
Number of each race:
White 27816
Black 3124
Asian-Pac-Islander 1039
Amer-Indian-Eskimo 311
Other 271
Name: race, dtype: int64
Average age of men: 39.4
Percentage with Bachelors degrees: 16.4%
Percentage with higher education that earn >50K: 46.5%
Percentage without higher education that earn >50K: 17.4%
Min work time: 1 hours/week
Percentage of rich among those who work fewest hours: 10.0%
Country with highest percentage of rich: Iran
Highest percentage of rich people in country: 41.9%
Top occupations in India: Prof-specialty
Medical Data Visualizer
requires
pandas
,seaborn
,matplotlib.pyplot
,numpy
Page View Time Series Visualizer
requires
pandas
,seaborn
,matplotlib.pyplot
,pandas.plotting
Sea Level Predictor
requires
pandas
,matplotlib.pyplot
,scipy.stats