print a row in pandas dataframe with date index code example Example: how to access dataframe row by datetime index df.loc['2008-01-01']