0% found this document useful (0 votes)
53 views

Scipy:: Expected Output

This document provides two problems to solve using Scipy and Matplotlib. The first problem involves fitting temperature data to a periodic function and plotting the results. The second problem involves creating a pie chart of gender proportions and a scatter plot of fare vs age with points colored by gender, using titanic passenger data from a provided URL. The output is expected as an .ipynb file containing all code and final graphs for evaluation.

Uploaded by

Shubham
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
53 views

Scipy:: Expected Output

This document provides two problems to solve using Scipy and Matplotlib. The first problem involves fitting temperature data to a periodic function and plotting the results. The second problem involves creating a pie chart of gender proportions and a scatter plot of fare vs age with points colored by gender, using titanic passenger data from a provided URL. The output is expected as an .ipynb file containing all code and final graphs for evaluation.

Uploaded by

Shubham
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

1.

Introduction
This assignment will help you to consolidate the concepts learnt in the session.

2.Problem Statement

Scipy:

We have the min and max temperatures in a city In India for each months of the year.
We would like to find a function to describe this and show it graphically, the dataset
given below.

Task:

1. fitting it to the periodic function

2. plot the fit

Data

Max = 39, 41, 43, 47, 49, 51, 45, 38, 37, 29, 27, 25

Min = 21, 23, 27, 28, 32, 35, 31, 28, 21, 19, 17, 18

Expected Output:
Matplotlib:

This assignment is for visualization using matplotlib:

data to use:

url=https://raw.githubusercontent.com/Geoyi/Cleaning-Titanic-Data/master/titanic_original.csv

titanic = pd.read_csv(url)

Charts to plot:

1. Create a pie chart presenting the male/female proportion

2. Create a scatterplot with the Fare paid and the Age, differ the plot color by gender

Note: Solution submitted via github must contain all the source code and final
graph.

3.Expected Output

This assignment consists of 200 marks and needs to be submitted in


.ipynb format in the upcoming session for evaluation.

You might also like