This is similar to this post "Appending to an empty data frame in Pandas?" but what I want is I have 2 lists
titles = ['Style','Occupancy','Ext_Wall_2','Roof_Cover','Int_Wall_2','Int_flr_2','Heat_Type','TTL_Bed','TTl_Half_Bath','TTL_Rooms','Kit_Style']
Bld_list = ['Colonial', '1', '\xa0', 'Asphalt', '\xa0', '\xa0','Forced Air-Duc',
'4 Bedrooms', '2', '8', 'Average']
I want to create a dataframe that would have titles as column headers across and ten row 0 of the dataframe be the bld_list value so it would be 1 x 11 dataframe
I tried the follow from the post but it gave the following error >>> "unhashable type: 'list'". I think the answer has to be very simple but I cant figure it out. Let me know if you can help. thank you
df6 = pd.DataFrame()
data = pd.DataFrame({columns:bld_list})
df6.append(data)