Page 1 of 1

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

Posted: Fri May 20, 2022 10:24 am
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.)