登录/注册
下载豆瓣客户端
豆瓣
6.0
全新发布
×
豆瓣
扫码直接下载
iPhone
·
Android
豆瓣
读书
电影
音乐
同城
小组
阅读
FM
时间
豆品
豆瓣读书
搜索:
购书单
电子图书
2023年度榜单
2023年度报告
购物车
《Python数据科学手册》的原文摘录
按热度排序
按页码排序
Looking through the Python 3.4 source code, we find that the integer (long) type definition effectively looks like this (once the C macros are expanded): (
查看原文
)
[已注销]
2赞
2019-07-13 09:41:59
—— 引自章节:Understanding Data Types in Py
Here PyObject_HEAD is the part of the structure containing the reference count, type code, and other pieces mentioned before. Notice the difference here: a C integer is essentially a label for a position in memory whose bytes encode an integer value. A Python integer is a pointer to a position in memory containing all the Python object information, including the bytes that contain the integer value. This extra information in the Python integer structure is what allows Python to be coded so freely and dynamically. All this additional information in Python types comes at a cost, however, which becomes especially apparent in structures that combine many of these objects. (
查看原文
)
[已注销]
2赞
2019-07-13 09:41:59
—— 引自章节:Understanding Data Types in Py
速度很快,而且不需要选择超参数, 所以通常很适合作为初步分类手段, 在借助更复杂的模型进行优化之前使用。 (
查看原文
)
已注销
2018-07-31 16:09:13
—— 引自第306页
>
我来写笔记
>
Python数据科学手册
作者:
[美] Jake VanderPlas
原作名:
Python Data Science Handbook: Essential Tools for Working with Data
isbn:
711547589X
书名:
Python数据科学手册
页数:
468
译者:
陶俊杰
,
陈小莉
定价:
109.00元
出版社:
人民邮电出版社
出版年:
2018-1-20
装帧:
平装