蠎加载 146
原文: Import Python Weekly Newsletter - Issue No 146 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… 通过在 python 中编 C 扩展来提高性能 cpython Interpreted language will never match the performance of compiled languages . Ever since I moved on to python from C/C++ , I always wanted to combine best of both worlds by extending python in C . (是也乎: 这事儿地球人都知道, M$ 还嫌 C 性能差在 C++ 代码中嵌汇编呢… 问题是, 首先功能稳定后, 还得找到性能瓶颈再针对性替代, 光这个工程就不简单了… ) 简介用 Pandas 进行数据清洗 pandas, excel I’ve been using Excel for data cleaning until I discovered how powerful pandas are for data analysis and data cleaning. In this article I want to go over basics of how to use pandas for cleaning data in excel files. (是也乎: 数据源是 excel 文件…细思恐极了.. ) 从零开始在 Python 中实施 Fisher 的 LDA machine learning, LDA Fisher’s Linear Discriminant Analysis (LDA) is a dimension reduction technique that can be used for classification as well. In this blog post, we will learn more about Fisher’s LDA and implement it from scratch in Python. Implementing Ethereum trading front-runs on the Bancor exchange in Python cryptocurrency This post is a deep-dive into programmatically trading on the Ethereum / Bancor exchange and exploiting a game-theoretic security flaw in Bancor, a high-profile smart contract on the Ethereum blockchain. Python 方法解析顺序 core-python, MRO In Python, a class can inherit features and attributes from multiple classes and thus, implements multiple inheritance. MRO or Method Resolution Order is the hierarchy in which base classes are searched when looking for a method in the parent class. 怎么用 Python 发布 HTTP/2 HTTP2 The simplest way to serve HTTP/2 is to use the Quart framework, furthermore Quart is the only Python framework to support server-push. 如何用 Python 搞出快速随机子集抽样 machine learning Imagine that you are developing a machine learning model to classify articles. You have managed to get an unreasonably large text file which contains millions of identifiers of similar articles that belong to the same class. You are unsure whether identifiers that are close to each other are independent. 迭代器和可迭代 - Agiliq Blog core-python 如何用 Python 在 Medium 中找到有趣的人来追踪 scraping, codesnippets Medium has a large amount of content, a large number of users, and an almost overwhelming number of posts. When you try to find interesting users to interact with, you’re flooded with visual noise. I define an interesting user as someone who is from your network, who is active, and who writes responses that are generally appreciated by the Medium community. (是也乎: 可惜, Medium 第一时间和谐掉了… ) 深度数学机器学习 learning.ai machine learning, math (是也乎: 简单的说 .ai 的好域名已经抢光了.. ) Explained using Python code snippets. livepython - 实时跟踪运行时 Python 代码 tracing code execution Watch your Python run like a movie. (是也乎: 象看电影一样观察你的python 代码的运行… 好吧, 对新手很重要… ) Facebook 中 Python 版本的状态 tweet K均值聚类 在 Python machine learning Clustering is a type of Unsupervised learning. This is very often used when you don’t have labeled data. K-Means Clustering is one of the popular clustering algorithm. The goal of this algorithm is to find groups(clusters) in the given data. In this post we will implement K-Means algorithm using Python from scratch. 8 best languages to blog about web crawling (是也乎: 叕一则 github 公开数据的嗯哼 ) 好物 ~ 包/模块/库/片段… ...