Question 17
Given the following code snippet, how many unique values will be present in the column of the resulting DataFrame ?
import pandas as pd
# Creating a DataFramedata = { 'X': ['apple', 'orange', 'apple', 'banana', 'banana', 'orange'], 'Y': [1, 2, 3, 3, 2, 2]}df = pd.DataFrame(data)
df['Z'] = df['X'] + df['Y'].astype(str)