I currently have a pandas Series with dtype Timestamp, and I want to group it by date (and have many rows with different times in each group).
Series
Timestamp
Three methods:
DataFrame: pd.groupby(['column']).size()
pd.groupby(['column']).size()
Series: sel.groupby(sel).size()
sel.groupby(sel).size()
Series to DataFrame:
pd.DataFrame( sel, columns=['column']).groupby(['column']).size()