pandas.DatetimeIndex.get_loc
-
DatetimeIndex.get_loc(key, method=None, tolerance=None)
[source] -
Get integer location for requested label
Returns: loc : int
© 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.DatetimeIndex.get_loc.html