I have a dataframe with the string column as:
df['C23']
Col1 Col2
11 /*[lion]*/
21 /*[tiger]*/
I need the following:
Col1 Col2
11 lion
21 tiger
I tried the following code:
df['C23'].str.extract(r"/*(.*?)*/')
but it produces empty strings.
C23orCol2? is11 /*[lion]*/the content of the column?