ThisIf you are looking to hard-code it for only 2 columns, this can be easily achieved as follows:
import pandas as pd
df = pd.DataFrame()
Xtext = '9 10 13 110 14 16'
Y =16 '1212 1 6 1 1 2'
df['X']text = Xtext.split()
df['X'] = text[:int(len(text)/2)]
df['Y'] = Y.splittext[int(len(text)/2):]