Intro to Data Science : Problem Set 3
Free trial終わった $180/monthくらいだった気がするから途中だけど終了にする
Intro to Data Science Online Course - Udacity
Visualizing Subway Data
ggplot
stat='bar' の警告
dataTW = turnstile_weather entries_DayOfMonth = dataTW[['DATEn', 'ENTRIESn_hourly']].groupby('DATEn', as_index=False).sum() entries_DayOfMonth['Day'] = [datetime.strptime(x, '%Y-%m-%d').strftime('%w %A') for x in entries_DayOfMonth['DATEn']] entries_Day = entries_DayOfMonth[['Day', 'ENTRIESn_hourly']].groupby('Day', as_index=False).sum() plot = ggplot(entries_Day, aes(x='Day', y='ENTRIESn_hourly')) + geom_bar(aes(weight='ENTRIESn_hourly'), stat='bar', fill='red') \ + ggtitle('NYC Subway ridership / day of week') + xlab('Day') + ylab('Entries') return plot
plot = ggplot(turnstile_weather,aes('DATEn','ENTRIESn_hourly'))+geom_bar(colour="blue", stat="bar")+ggtitle('NYC Subway Data Analysis')+xlab('Day')+ylab('ENTRIESn_hourly') return plot
理解度が足りない
慣れよう
30m