title: how to check value existing in pandas dataframe column value of type list
body: <p>I have pandas dataframe which contains value in below format. How to filter dataframe which matches the <code>'d6d4e77e-b8ec-467a-ba06-1c6079aa2d82'</code> in any of the value of type list part of PathDSC column</p>
  <p>i tried</p>
  <pre><code>def get_projects_belongs_to_root_project(project_df, root_project_id):
          filter_project_df = project_df.query(&quot;root_project_id in PathDSC&quot;)
  </code></pre>
  <p>it didn't work i got empty dataframe</p>
  <p><a href="https://i.stack.imgur.com/CXRBP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/CXRBP.png" alt="enter image description here" /></a></p>