Variable c3 stored the arraylist I would like to split a column in the dataframe named df3 into two columns.
c3 = Retrieve_ED_Notes.arr_cat3
df3 = pd.DataFrame(np.array(c3), columns=["content"]).drop_duplicates()
print(df3)
I would like to make 3 in a column and 85 Male Malay..... into another column. The out put of the dataframe, df3 looks like this:
content
0 3 85 Male Malay NKDA walking stick at home, and ambulant with WS to void deck able to walk to B...
1 3 85yo chinese man nkda PHX 1) Hypertension 2) Hyperlipidemia 3) Benign prostatic hyperplasia 4)...