<p dir="auto">There is an error in the docstring for the query function in</p>
<p dir="auto"><code class="notranslate">pandas/core/frame.py</code>.</p>
<p dir="auto">The PR here fixes this: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="338360768" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/21731" data-hovercard-type="pull_request" data-hovercard-url="/pandas-dev/pandas/pull/21731/hovercard" href="https://github.com/pandas-dev/pandas/pull/21731">#21731</a></p>
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4>
<div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Your code here
"><pre class="notranslate"><span class="pl-c"># Your code here</span></pre></div>
<h4 dir="auto">Problem description</h4>
<p dir="auto">[this should explain <strong>why</strong> the current behaviour is a problem and why the expected output is a better solution.]</p>
<p dir="auto"><strong>Note</strong>: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!</p>
<p dir="auto"><strong>Note</strong>: Many problems can be resolved by simply upgrading <code class="notranslate">pandas</code> to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if <code class="notranslate">master</code> addresses this issue, but that is not necessary.</p>
<p dir="auto">For documentation-related issues, you can check the latest versions of the docs on <code class="notranslate">master</code> here:</p>
<p dir="auto"><a href="https://pandas-docs.github.io/pandas-docs-travis/" rel="nofollow">https://pandas-docs.github.io/pandas-docs-travis/</a></p>
<p dir="auto">If the issue has not been resolved there, go ahead and file it in the issue tracker.</p>
<h4 dir="auto">Expected Output</h4>
<h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4>
<details>
<p dir="auto">[paste the output of <code class="notranslate">pd.show_versions()</code> here below this line]</p>
</details>
<p dir="auto">Hey everyone,</p>
<p dir="auto">I was working on a project that involves working with data acquired via the world bank pandas api (i.e. <code class="notranslate">pandas.io.wb</code>). This library has a function called <code class="notranslate">pandas.io.wb.search(str)</code> which is very useful. In data transformation terms, it's basically does this- given a string 's', filter the dataframe by retaining only the tuples where a string match occurs with the given string 's'.</p>
<p dir="auto">This operation occurs in my workflow on a regular basis, and I was wondering if anyone else feels the need to have this function natively in pandas. Would be a huge time saver in my opinion!</p>
<p dir="auto">Was thinking of a function that looks like this:<br>
<code class="notranslate">DataFrame.search(search_str, is_ignore_case=True, is_match_full_word=False, **kwargs)</code></p>
<p dir="auto">Would love to hear from the community! :)</p>