intent: How to transform a time series pandas dataframe using the index attributes?
rewritten_intent: transform time series `df` into a pivot table aggregated by column 'Close' using column `df.index.date` as index and values of column `df.index.time` as columns
snippet: pd.pivot_table(df, index=df.index.date, columns=df.index.time, values='Close')