摘要: Dataset with size more than 1 TB available for download - Click prediction for i in range(0, 24): print 'http://azuremlsampleexperiments.blob.core.win 阅读全文
posted @ 2016-03-07 10:20 藥師 阅读(885) 评论(0) 推荐(0) 编辑
摘要: How do I check if a string is a number (float) in Python? http://stackoverflow.com/questions/354038/how-do-i-check-if-a-string-is-a-number-float-in-py 阅读全文
posted @ 2016-02-28 11:35 藥師 阅读(2181) 评论(0) 推荐(0) 编辑
摘要: 要把这个 low_memory 关掉df = pd.read_csv('somefile.csv', low_memory=False) 阅读全文
posted @ 2016-02-27 22:46 藥師 阅读(8832) 评论(0) 推荐(0) 编辑
摘要: 因为没有在 PyCharm 的设置中指定 Python 解释器,在 File/DefaultSettings/Project Interpreter/Python Interpreter 中设置好就可以了。 详见: http://stackoverflow.com/questions/1098783 阅读全文
posted @ 2016-02-21 14:20 藥師 阅读(2315) 评论(0) 推荐(0) 编辑
摘要: 系统环境 OS X EI Captain 安装步骤 首先需要安装 Sublime Text 2/3 和 Package Control,附上注册码链接。http://appnee.com/sublime-text-3-universal-license-keys-collection-for-win 阅读全文
posted @ 2016-02-10 14:31 藥師 阅读(5421) 评论(0) 推荐(0) 编辑
摘要: 上代理吧…… 阅读全文
posted @ 2016-02-06 15:38 藥師 阅读(1982) 评论(0) 推荐(0) 编辑
摘要: python默认的递归深度是很有限的,如果碰到类似的错误,先行设置一下吧。 sys.setrecursionlimit(limit) Set the maximum depth of the Python interpreter stack to limit. This limit prevents 阅读全文
posted @ 2016-01-31 13:09 藥師 阅读(755) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/1894269/convert-string-representation-of-list-to-list-in-python>>> import ast>>> x = u'[ "A","B","C" , " D"]'>>> x ... 阅读全文
posted @ 2016-01-23 20:34 藥師 阅读(732) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/19548011/cannot-install-lxml-on-mac-os-x-10-9解决方法1. xcode-select --install2. sudo easy_install pip3. pip install lx... 阅读全文
posted @ 2016-01-23 01:11 藥師 阅读(491) 评论(0) 推荐(0) 编辑
摘要: range 返回 listxrange 返回 生成器在数据量小的时候看不出来什么问题,但是数据量一大就明显了。尽量选择 xrange在 python3 里面 xrange 已经取代了 range 阅读全文
posted @ 2016-01-03 20:43 藥師 阅读(158) 评论(0) 推荐(0) 编辑