pd.merge(left=df_data[0:4], left_index=True, right=df_data[4:8].reset_index
    (drop=True), right_index=True, suffixes=['_left', '_right'], how='outer')
HTML code to show splitted data_frame in one html page using python