How to create a dataframe from lists?

To create a dataframe from lists

  • create an empty dataframe
  • add lists as individuals columns to the list
df=pd.DataFrame()
bikes=["bajaj","tvs","herohonda","kawasaki","bmw"]
cars=["lamborghini","masserati","ferrari","hyundai","ford"]
df["cars"]=cars
df["bikes"]=bikes
df