# Shared data for all SECTION B questionss = pd.Series([10.8…

# Shared data for all SECTION B questionss = pd.Series([10.8, 20.5, 30.2, 40.4], index=[“a”, “b”, “c”, “d”])t = pd.Series([20.5, 5.4, 10.8, 15.6], index=[“a”, “b”, “c”, “d”])df = pd.DataFrame({    “product”: [“A”, “B”, “A”, “C”],    “units”:   [10,   3,   8,   5],    “price”:   [2.5,  5.0, 3.0, 4.5],    “region”:  [“West”,”West”,”East”,”East”]}, index=[0,1,2,3]) # B7. Assign a SINGLE expression that returns a DataFrame containing only#     the columns ‘product’ and ‘price’ using .iloc[] integer-based indexing.B7 = … # your answer here

# Shared data for all SECTION B questionss = pd.Series([10.8…

# Shared data for all SECTION B questionss = pd.Series([10.8, 20.5, 30.2, 40.4], index=[“a”, “b”, “c”, “d”])t = pd.Series([20.5, 5.4, 10.8, 15.6], index=[“a”, “b”, “c”, “d”])df = pd.DataFrame({    “product”: [“A”, “B”, “A”, “C”],    “units”:   [10,   3,   8,   5],    “price”:   [2.5,  5.0, 3.0, 4.5],    “region”:  [“West”,”West”,”East”,”East”]}, index=[0,1,2,3]) # B8. Assign a SINGLE expression that returns the total number of units across all rows (a single integer).B8 = … # your answer here