0% found this document useful (0 votes)
10 views2 pages

CS3361 DS LAB_edited

Lab record

Uploaded by

znovelgame
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)
10 views2 pages

CS3361 DS LAB_edited

Lab record

Uploaded by

znovelgame
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

DATA SCIENCE LAB QUESTIONS

1. i. Write a NumPy program to convert a list and tuple into arrays


ii. Write a NumPy program to convert the values of Centigrade degrees into Fahrenheit degrees and vice
versa. Values have to be stored into a NumPy array.

2.i. Write a NumPy program to find the real and imaginary parts of an array of complex numbers
ii. Write a NumPy program to convert a NumPy array into a csv file

3. i. Write a NumPy program to perform the basic arithmetic operations


ii. Write a NumPy program to transpose an array

4. i. Use NumPy, Create an array with 5 dimensions and verify that it has 5 dimensions
ii. Using NumPy, Sort a boolean array

5. i. Create your own simple Pandas DataFrame and print its values
ii. Create your own DataFrame from dict of narray/list

6. Perform appending, slicing, addition and deletion of rows with a Pandas DataFrame

2..i. Write a NumPy program to find the real and imaginary parts of an array of complex numbers

ii. Write a NumPy program to convert a NumPy array into a csv file

7. i. Using Pandas, Create a DataFrame with a list of dictionaries, row indices, and column indices.

ii. Use index label to delete or drop rows from a Pandas DataFrame.

8. Apply and explore various plotting functions on UCI data sets.

Page 1 of 2
9. Compare the results of the Univariate and Bivariate analysis for the UCI diabetes data set.

10. Using Pandas library,

i. Load the iris.CSV file

ii. Convert it into the data frame and read it .

iii. Display records only with species "Iris-setosa".

11. Use the diabetes data set from UCI, Perform Univariate analysis

3. i. Write a NumPy program to perform the basic arithmetic operations

ii. Write a NumPy program to transpose an array

12. Use the diabetes data set from Pima Indians Diabetes, Perform Bivariate analysis.

13. Perform Multiple Regression analysis on your own dataset ( For example, Car dataset with
information Company Name, Model, Volume, Weight, CO2) with more than one independent value to
predict a value based on two or more variables.

15 i. Using the “concrete strength” dataset, explore relationships between two continuous variables with
Scatterplots

ii. Draw a Scatter Plot for the following Pandas Data Frame with Team name and Rank Points as x and y
axis

["Australia", 2500],["Bangladesh", 1000],["England", 2000],["India", 3000],["Srilanka", 1500]

16. Make a three-dimensional plot with randomly generate 50 data points for x, y, and z. Set the point
color as red, and size of the point as 50.

17. How will you plot and visualize geographical data with the help of Basemap. State the Procedure for it
with an example.

2..i. Write a NumPy program to find the real and imaginary parts of an array of complex numbers

ii. Write a NumPy program to convert a NumPy array into a csv file

3. i. Write a NumPy program to perform the basic arithmetic operations

ii. Write a NumPy program to transpose an array

Page 2 of 2

You might also like