In [7]: Out [7]: Ex 7: Select the rows where all cars have 6 cylinders (cyl column) mpg cyl disp hp drat wt qsec vs am gear carb 21 6 160 110 3.9 2.62 16.46 01 4 4 160 110 3.9 2.875 17.02 0 1 4 4 258 110 3.08 3.215 19.44 1 0 3 225 105 2.76 3.46 20.22 1 0 3 167.6 123 3.92 3.44 18.3 1 0 4 167.6 123 3.92 3.44 18.9 10 4 145 175 3.62 2.77 15.50 1 5 Mazda RX4 Mazda RX4 Wag 21 6 Hornet 4 Drive 21.4 6 Valiant Merc 280 18.1 6 19.2 6 17.8 6 Merc 280C Ferrari Dino 19.7 6 1 1 4 4 6

COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
1st Edition
ISBN:9780357392676
Author:FREUND, Steven
Publisher:FREUND, Steven
Chapter8: Working With Trendlines, Pivottables, Pivotcharts, And Slicers
Section: Chapter Questions
Problem 8EYK
icon
Related questions
Question

Using df <- mtcars Select the rows where all cars have 6 cylinders (cyl column)

In [7]:
Out [7]:
Ex 7: Select the rows where all cars have 6 cylinders (cyl column)
qsec vs am gear carb
16.46 0 1 4
Mazda RX4
mpg cyl disp hp drat wt
160 110 3.9 2.62
160
21 6
4
Mazda RX4 Wag 21 6
4
4
Hornet 4 Drive
21.4 6
258
110 3.08 3.215 19.44 1 0 3
1
Valiant
18.1 6
225
105 2.76 3.46
3
1
20.221 0
18.3 1
Merc 280
167.6 123 3.92 3.44
0
4
4
Merc 280C
19.2 6
17.8 6
19.7 6
167.6 123 3.92 3.44
18.9 1
0
4
4
Ferrari Dino
145 175 3.62 2.77
15.5 0 1
5
6
110 3.9 2.875 17.02 0 1
Transcribed Image Text:In [7]: Out [7]: Ex 7: Select the rows where all cars have 6 cylinders (cyl column) qsec vs am gear carb 16.46 0 1 4 Mazda RX4 mpg cyl disp hp drat wt 160 110 3.9 2.62 160 21 6 4 Mazda RX4 Wag 21 6 4 4 Hornet 4 Drive 21.4 6 258 110 3.08 3.215 19.44 1 0 3 1 Valiant 18.1 6 225 105 2.76 3.46 3 1 20.221 0 18.3 1 Merc 280 167.6 123 3.92 3.44 0 4 4 Merc 280C 19.2 6 17.8 6 19.7 6 167.6 123 3.92 3.44 18.9 1 0 4 4 Ferrari Dino 145 175 3.62 2.77 15.5 0 1 5 6 110 3.9 2.875 17.02 0 1
Expert Solution
steps

Step by step

Solved in 3 steps with 1 images

Blurred answer
Knowledge Booster
Mergesort
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:
9780357392676
Author:
FREUND, Steven
Publisher:
CENGAGE L