Curriculum
Course: Data Science
Login

Curriculum

Data Science

Text lesson

DS Functions

This chapter covers three commonly used functions in Data Science: max(), min(), and mean().

The Sports Watch Data Set

Duration

Average_Pulse

Max_Pulse

Calorie_Burnage

Hours_Work

Hours_Sleep

30

80

120

240

10

7

30

85

120

250

10

7

45

90

130

260

8

7

45

95

130

270

8

7

45

100

140

280

0

7

60

105

140

290

7

8

60

110

145

300

7

8

60

115

145

310

8

8

75

120

150

320

0

8

75

125

150

330

8

8

The dataset above contains 6 variables, each with 10 observations:

  • Duration: The duration of the training session in minutes.
  • Average_Pulse: The average pulse during the training session, measured in beats per minute.
  • Max_Pulse: The maximum pulse reached during the training session.
  • Calorie_Burnage: The number of calories burned during the training session.
  • Hours_Work: The number of hours worked before the training session.
  • Hours_Sleep: The amount of sleep the night before the training session.