what is the output for the following code according to python pandas
import pandas as pd
cars = {'Brand': ['Honda Civic','Toyota Corolla','Ford Focus','Audi A4'],
'Price': [22000,25000,27000,35000]
}
df = pd.DataFrame(cars, columns= ['Brand', 'Price'])
df.to_csv (r'C:\export_dataframe.csv', index = False, header=True)
print (df)
Answers
Answered by
2
Answer:
this is the output that we'll get when we run the above code in python prompt
Attachments:
Answered by
1
why are you having black dp dear????
Similar questions