Question
PREPARATION: 1. You need to choose a dataset from the repository in the link below. Be sure to discuss this repository with your lecturer, so
PREPARATION: 1. You need to choose a dataset from the repository in the link below. Be sure to discuss this repository with your lecturer, so you are allowed to work with it: https://archive.ics.uci.edu/ml/datasets.php 2. Download the data set and store it in your Python project as a .csv, or .txt file. 3. Analyze your data set and know about the fields it has because that affects the way you will read the file. 4. Read the csv file with data into your python project: You can check on week 4, week 5 or week 6, programming tasks, how to read a csv file in python.
Complete the following TASKS: Activity 1: HORIZONTAL AND VERTICAL ARRAY STACKING a. From your loaded data set, create a two-dimensional array of dimension 3x3. b. transpose your array.
Activity 2: RESEARCH AND USE NUMPYS CONCATENATE FUNCTION a. Research the NumPy function concatenate and summarize its use in a paragraph. b. Show an example of its use with the dataset downloaded.
Activity 3: PANDAS: SERIES Perform the following tasks with pandas Series: a. Create a Panda Series with the downloaded dataset. b. Use method describe to produce the Series basic descriptive statistics.
Activity 4: (PLOT) a. Choose a field of your dataset that allows calculations such as mean. b. Plot frequencies of the chosen field as we did in class with the frequencies of the die. c. Calculate mean, median and mode for the chosen field.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started