Skip to content
masterclass Buddy

Pandas · Method

df.at_time

Select DataFrame rows whose DatetimeIndex matches a given time of day. The time can be a string or a datetime.time value.

Last updated

Syntax

DataFrame.at_time(time, asof=False, axis=None)

In-depth API docs are only for subscribers: parameters, examples, common mistakes and interview practice.

Subscribe
  • between_time
  • DatetimeIndex.indexer_at_time

Source: pandas.DataFrame.at_time — pandas 3.1.0 documentation. Checked 2026-11-03.