自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 python中AttributeError: module 'html5lib.treebuilders' has no attribute '_base' (beautifulsoup)

在coursera网课python for everybody的课程3 using python to access web data的第四周课程中,作业要求的用beautifulsoup解决http问题并读取anchor tag来求和,我选择不安装bs而是下载bs4.zip,在运行代码时出现AttributeError:module 'html5lib.treebuilders' has no ...

2018-08-05 18:50:26 1812

原创 Coursera-week 4

Explanatory : x = frequency of drinking beerresponse: y= alcohol dependence import pandasimport numpyimport seabornimport matplotlib.pyplot as pltdata = pandas.read_csv('nesarc_pds.csv', ...

2018-07-27 22:00:27 217

原创 Coursera-数据管理与可视化-week 3作业

In conclusion, my data is basically about level of drinking beer and alcohol dependence. In this chapter, I extracted data and dealt with the missing data. Instead of value_counts function, I used .gr...

2018-07-26 01:05:24 215

原创 coursera-数据管理与可视化-week 2 作业

import pandasimport numpydata = pandas.read_csv('nesarc_pds.csv', low_memory=False)print(len(data))print(len(data.columns))data['S2BQ1A2']=data['S2BQ1A2'].convert_objects(convert_numeric=True)...

2018-07-24 18:00:47 233

原创 Coursera-数据管理与可视化-week 1作业

After looking through the codebook for the NESARC study, I have decided to focus on alcohol abuse/ dependence. So far specific variables need to be further determined, as a result, I include many rele...

2018-07-18 16:38:31 177

原创 coursera-data analysis and interpretation Week 1- Anova

This is to determine whether the ethnicity and quantity of smoke has relationship with each otherimport numpyimport pandasimport statsmodels.formula.api as smfimport statsmodels.stats.multicomp as mul...

2018-06-03 23:36:58 264

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除