Question: Example: Access the above CSV file directly from the web Code: Output: Exercise 1 : Write your code to display the first 5 rows of
Example: Access the above CSV file directly from the web
Code:
Output:
Exercise : Write your code to display the first rows of the above table FYI look back the previous labs if needed
Your Code:
Output:
Exercise : Write your code to display the last rows of the above table FYI look back the previous labs if needed
Your Code:
Output:
Exercise : Write your code to show the descriptive statistics of the above table
FYI use data.describe
Your Code:
Output:
Example: How to access few columns from a csv file
Code:
Output:
Exercise : Write your code to display the Name and Salary columns only from the top most table FYI see the code just above
Your Code:
Output:
Example: Finding your working directory WD Working directory is the directory where all your pandas files are saved.
Code to know my WD:
Output
Exercise : Write your code to show your Working Directory WD
Your Code:
Output:
Example: Changing your working directory WD
Now if I run the code for getting the WD again, I will get the following:
Exercise : Write your code to change your Working Directory WD
Your Code:
Output, after changing WD:
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
