北京房价的数据分析

本文将对北京房价进行深入的数据分析,首先介绍了所使用的数据分析工具和库,随后通过加载相关数据,为后续的统计和可视化奠定基础,揭示北京房地产市场的潜在趋势。
摘要由CSDN通过智能技术生成

加载数据分析使用的库
加载数据

import pandas as py
import numpy as np
import matplotlib.pyplot as plt
##警告信息columns have types,需要设置dtype
df=pd.read_csv('./anli/beijing_houst_price.csv',dtype={
   'id':'str','tradeTime':'str','livingRoom':'str','drawingRoom':'str','bathRoom':'str'})
#查看数据大致情况
df.head()
	id	tradeTime	followers	totalPrice	price	square	livingRoom	drawingRoom	kitchen	bathRoom	floor	buildingType	buildingStructure	ladderRatio	elevator	fiveYearsProperty	subway	district	communityAverage
0	101084782030	2016-08-09	106	415.0	31680	131.00	2	1	1	126	1.0	6	0.217	1.0	0.0	1.0	7	56021.0
1	101086012217	2016-07-28	126	575.0	43436	132.38	2	2	1	222	1.0	6	0.667	1.0	1.0	0.0	7	71539.0
2	101086041636	2016-12-11	48	1030.0	52021	198.00	3	2	1	34	4.0	6	0.500	1.0	0.0	0.0	7	48160.0
3	101086406841	2016-09-30	138	297.5	22202	134.00	3	1	1	121	1.0	6	0.273	1.0	0.0	0.0	6	51238.0
4	101086920653	2016-08-28	286	392.0	48396	81.00	2	1	1	16	4.0	2	0.333	
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值