In [3]:
%matplotlib inline
import pandas as pd
df = pd.read_csv("../../../linux/git_demo_timestamp.csv", sep=";")
df.describe()
Out[3]:
In [5]:
df.author.value_counts().head(10).plot(kind='pie', figsize=(8,8))
Out[5]:
In [9]:
df['ts'] = pd.to_datetime(df.timestamp_local)
df.head()
Out[9]:
In [13]:
df.ts.dt.hour.value_counts(sort=False).plot(kind='bar')
Out[13]: