pandas / 0.22.0 / generated / pandas.index.contains.html /

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.22.0/generated/pandas.Index.contains.html