Scenario 1, continued Next, you begin to clean your data. When you check out the column headings in your data frame you

Business, Finance, Economics, Accounting, Operations Management, Computer Science, Electrical Engineering, Mechanical Engineering, Civil Engineering, Chemical Engineering, Algebra, Precalculus, Statistics and Probabilty, Advanced Math, Physics, Chemistry, Biology, Nursing, Psychology, Certifications, Tests, Prep, and more.
Post Reply
answerhappygod
Site Admin
Posts: 899603
Joined: Mon Aug 02, 2021 8:13 am

Scenario 1, continued Next, you begin to clean your data. When you check out the column headings in your data frame you

Post by answerhappygod »

Scenario 1, continued
Next, you begin to clean your data. When you check out the
column headings in your data frame you notice that the first column
is named Company...Maker.if.known. (Note: The period after
known is part of the variable name.) For the sake of
clarity and consistency, you decide to rename this column
Maker (without a period at the end).
Assume the first part of your code chunk
is:
flavors_df %>%
What code chunk do you add to change the column
name?
0 / 1 point
rename(Maker %<% Company...Maker.if.known.)
rename(Company...Maker.if.known. = Maker)
rename(Company...Maker.if.known %<% Maker)
rename(Maker = Company...Maker.if.known.)
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!
Post Reply