title: How do I query the GeoDataFrame?
body: <p>I have a question on Geopandas. </p>
  
  <p>I have a shape file for a country which I am loading into geopandas. The shape file has shape for all states in country. </p>
  
  <p>I need to extract a single state. I have tried exploring documentation and stackoverflow but was unable to warp my mind around how to use <code>query()</code> method to retrieve the single state.</p>
  
  <pre><code>import geopandas as gpd
  import os
  
  # get current directory path
  cur_dir = os.path.dirname(os.path.realpath(__file__))
  
  gdf_shp_state = gpd.read_file(cur_dir + '/data/StateBoundary/StateBoundary.shp')
  print(type(gdf_shp_state))
  print(gdf_shp_state)
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>&lt;class 'geopandas.geodataframe.GeoDataFrame'&gt;
                     state                                           geometry
  0      ANDAMAN &amp; NICOBAR  (POLYGON ((10341718.474 1449533.160500001, 103...
  1             CHANDIGARH  POLYGON ((8546255.616099998 3606050.813100003,...
  2   DADAR &amp; NAGAR HAVELI  (POLYGON ((8137193.4859 2315664.964499999, 813...
  3            DAMAN &amp; DIU  (POLYGON ((8111624.4714 2328002.898499999, 811...
  4                  DELHI  POLYGON ((8583390.569699999 3359116.190099999,...
  5                HARYANA  POLYGON ((8524318.5392 3516490.864500001, 8524...
  6              JHARKHAND  POLYGON ((9762288.284699999 2772949.712499999,...
  </code></pre>
  
  <p><strong>Question is :</strong> How do I query the GeoDataFrame?</p>
  
  <p>There is a method called <code>gdf_shp_state.query()</code> and its expecting me to put a query as a <code>string</code>. Can someone help me provide an example query string which I need to use to get GeoDataFrame for single state?</p>