Question 5
Consider following common data and answer the given subquestions:
import pandas as pdimport numpy as npcolumns = ["Name", "Manufacturer", "Year_of_purchase", "Price_in_lacs","Fuel_type"]data = [["800 AC", "Maruti", 2007, 0.6, "Petrol", ], ["Wagon R", "Maruti", 2007, 1.35, "Petrol", ], ["Verna", "Hyundai", 2012, 6.0, "Diesel", ], ["Corolla", "Toyota", 2018, 16.5, "Petrol", ], ["Amaze", "Honda", 2014, 4.5, "Diesel", ], ["Alto", "Maruti", 2007, 1.4, "Petrol", ],]df = pd.DataFrame(data=data, columns=columns)Given the data, which of the following options will provide the same output?