On this page
pandas.Index.contains
Index.contains(key)
[source]-
return a boolean if this key is IN the index
Parameters: key : object Returns: boolean
© 2008–2012, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/0.21.1/generated/pandas.Index.contains.html