Question: A data analyst is working with a data frame called sales. In the data frame, a column named location represents data in the format city
A data analyst is working with a data frame called sales. In the data frame, a column named location represents data in the format city state The analyst wants to split the city into an individual city column and state into a new countrycolumn. What code chunk lets the analyst split the location column?
point
separatesales location, intoccity "country" sep
separatesales location, intoccountry "city" sep
untiesales location, intoccity "country" sep
separatesales location, intoccountry "city" sep
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
