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