convert_df_to_code function

Create code to construct data frame