分析citibike数据eda

CitiBike is New York City’s famous bike rental company and the largest in the USA. CitiBike launched in May 2013 and has become an essential part of the transportation network. They make commute fun, efficient, and affordable — not to mention healthy and good for the environment.

CitiBike是纽约市著名的自行车租赁公司,也是美国最大的自行车租赁公司。 花旗自行车(CitiBike)于2013年5月推出,现已成为交通网络的重要组成部分。 它们使通勤变得有趣,高效且负担得起,更不用说健康且对环境有益。

I have got the data of CityBike riders of June 2013 from Kaggle. I will walk you through the complete exploratory data analysis answering some of the questions like:

我从Kaggle获得了2013年6月的CityBike骑手数据。 我将引导您完成完整的探索性数据分析,回答一些问题,例如:

  1. Where do CitiBikers ride?

    CitiBikers骑在哪里?
  2. When do they ride?

    他们什么时候骑?
  3. How far do they go?

    他们走了多远?
  4. Which stations are most popular?

    哪个电台最受欢迎?
  5. What days of the week are most rides taken on?

    大多数游乐设施在一周的哪几天?
  6. And many more

    还有很多

Key learning:

重点学习:

I have used many parameters to tweak the plotting functions of Matplotlib and Seaborn. It will be a good read to learn them practically.

我使用了许多参数来调整Matplotlib和Seaborn的绘图功能。 实际学习它们将是一本好书。

Note:

注意:

This article is best viewed on a larger screen like a tablet or desktop. At any point of time if you find difficulty in understanding anything I will be dropping the link to my Kaggle notebook at the end of this article, you can drop your quaries in the comment section.

最好在平板电脑或台式机等较大的屏幕上查看本文。 在任何时候,如果您发现难以理解任何内容,那么在本文结尾处,我都会删除指向我的Kaggle笔记本的链接,您可以在评论部分中删除您的查询。

让我们开始吧 (Let’s get started)

Importing necessary libraries and reading data.

导入必要的库并读取数据。

#importing necessary libraries
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
import seaborn as sns#setting plot style to seaborn
plt.style.use('seaborn')#reading data
df = pd.read_csv('../input/citibike-system-data/201306-citibike-tripdata.csv')
df.head()
CitiBike dataset

Let’s get some more information on the data.

让我们获取有关数据的更多信息。

df.info()
Image for post
#sum of missing values in each column
df.isna().sum()
Image for post

We have whooping 5,77,703 row

  • 1
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
纽约CityBike是纽约市的一项共享自行车计划,为居民和游客提供了方便、环保的交通工具。在该计划中,用户可以通过订阅会员、租赁自行车并在城市中骑行一段距离后将其归还。 Tableau是一种数据可视化工具,可以帮助我们深入分析和展示数据。我们可以使用Tableau分析纽约CityBike数据,从而得出一些有意义的结论。 首先,我们可以使用Tableau分析每个区域的骑行频率。通过将纽约市划分为不同的区域并对每个区域的骑行次数进行统计,我们可以了解到哪些区域是骑行最频繁的地区,以及可能的原因。例如,繁忙的商业区、旅游景点周围的地区可能会有更多的骑行活动。 其次,我们可以使用Tableau对骑行时间和距离进行分析。通过绘制骑行时间和距离的散点图,我们可以看到骑行时间和距离之间的关系。这有助于我们了解用户在骑行时通常选择的路径和骑行时间的分布。这些信息能够帮助我们优化自行车的调度和站点的布置,以更好地满足用户的需求。 此外,我们还可以使用Tableau分析订阅会员和临时用户之间的骑行模式差异。通过分析两者的骑行频率、骑行时间和骑行距离,我们可以了解到不同类型用户的使用习惯和偏好,进而优化计划的运营。 总之,通过Tableau分析纽约CityBike数据,我们可以更好地了解用户的行为模式和需求,从而为计划的改进提供依据。

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值