Tutorial- 2 - Pandas
- Due Dec 31, 2023 by 11:59pm
- Points 10
- Submitting a file upload
- File Types doc, pdf, and ipynb
- Available Dec 27, 2022 at 12pm - Mar 31, 2024 at 11:59pm over 1 year
Tutorial : 2 - Explore Pandas library to analyse and manipulate data.
- Import NumPy and pandas library.
- Define series with 3 elements.
- Define series with custom index.
- Fetch Series value and index.
- Create DataFrame from list of Dict.
- Create dataframe with some missing value - NaN(Not a Number) represents missing values.
- Read excel file.
- Explore kaggle.com for dataset. Search iris dataset and download.
- Read iris dataset from csv file format and findout no. of rows and columns.
- Perform following operation on iris dataset.
- Fetch firat 5 and last 5 rows.
- Find index
- remane columns
- replace "Iris-versicolor" with "versicolor"
- Find Statistical description
- extract specific column
- add new column with condition
- drop added column
- select first row data
- select 51 to 55 rows
- Apply conditional formatting
- replace "Iris-versicolor" with "versicolor"
- print "virginica" with "Petal_Length" more then 6
- find duplicate values
- Find basic information
****************************************************************************************