Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

question 1 create table of any data for example a table with row names being buildings in campus the column names may be longtitude, latitude,

question 1 create table of any data for example a table with row names being buildings in campus the column names may be longtitude, latitude, year built, and department it belongs to then print it out on the terminal

question 2 make a functoin that read in a matrix return its dimension return the mean of the columns return the mean of the rows

question 3

read in the iris data from sklearn

select the rows that is of versicolor (a) then return the mean petal length of them select the rows that that has sepal length greater than 4.5 but less than 6 (b) combine the two sets of rows a and b remove duplicate rows

how it will be graded: will place your submitted file *****.py (however it is named) together with our modified matrix.csv will run python3 *****.py in the terminal with the directory changed to where *****.py and matrix.csv is located all the above asked material should appear in the terminal with the correct values make sure you use python3 also you will need to install python and the dependent packages in your laptop use pip to install packages

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access with AI-Powered Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Students also viewed these Databases questions