I'd like to check if there is a cell with type dict in pandas series.
My pandas series looks something like this:
import pandas as pd
import numpy as np
s = pd.Series([{'a':'1'}, np.nan, {'b':'2'}, np.nan], name="s")
I'd like to basically check if there is at least 1 dict in the series and evaluate a condition.
if `dict` in series:
print('True')
else:
print('False')