Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

2 3 4 5 6 7 8 9 1 0 1 1 Task 1 : Instructions Load pandas and the training activities data. Import pandas

2
3
4
5
6
7
8
9
10
11
Task 1: Instructions
Load pandas and the training activities data.
Import pandas under the alias pd.
Use the read_csv() function to load the dataset (runkeeper_file) into a variable called df_activities. Parse the dates with the parse_dates parameter and set the index to the Date column using the index_col parameter.
Display 3 random rows from df_activities using the sample() method.
Print a summary of df_activities using the info() method.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored 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

Recommended Textbook for

Database Administration The Complete Guide To Dba Practices And Procedures

Authors: Craig S. Mullins

2nd Edition

0321822943, 978-0321822949

More Books

Students also viewed these Databases questions