<SYSTEM_TASK:>
Given the following text description, write Python code to implement the functionality described below step by step
<END_TASK>
<USER_TASK:>
Description:
 workflow for data Analysis project.
An exploratory analysis of freemont bridge bike data in Seattle WA
Step1:  What we got was the annual trend
Step2:  West side congested in the morning while the east side is congested in the everning.
People coming into the city in the morning and going out of the city in the afternoon.j
<ASSISTANT_TASK:>
Python Code:
%matplotlib inline
import matplotlib.pyplot as plt
plt.style.use('seaborn')
from module_code.data import get_fremont_data
df = get_fremont_data()
df.head()
df.resample('W').sum().plot() # ugly looking graphs. Change to seaborn.
# resample daily and find the rolling sum of 365 days.
ax = df.resample('D').sum().rolling(365).sum().plot()
Explanation: workflow for data Analysis project.
An exploratory analysis of freemont bridge bike data in Seattle WA
End of explanation
ax = df.resample('D').sum().rolling(365).sum().plot()
ax.set_ylim(0, None)
df.groupby(df.index.time).mean().plot()
Explanation: What we got was the annual trend
End of explanation
pivoted = df.pivot_table('Total', index=df.index.time, columns=df.index.date)
pivoted.iloc[:5,:5]
pivoted.plot(legend = False, alpha = 0.01)
get_fremont_data??
Explanation: West side congested in the morning while the east side is congested in the everning.
People coming into the city in the morning and going out of the city in the afternoon.j
End of explanation
<END_TASK>