I have a df that looks like this:
col1 col2
1 [1,2]
How can I check if df has the list present in the frame so I can apply my flattening logic ?
Example code:
if list present in df == TRUE:
flatten code
else:
do nothing