Question: A data analyst is working with a data frame named stores. It has separate columns for city ( city ) and state ( state )

A data analyst is working with a data frame named stores. It has separate columns for city (city) and state (state). The analyst wants to combine the two columns into a single column named location, with the city and state separated by a comma. What code chunk lets the analyst create the location column?
1 point
unite(stores,location, city, state)
unite(stores,location, city, state, sep=,)
unite(stores, city, state, sep=,)
unite(stores,location, city, sep=,)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!