NASA实锤对比Py和多种主力数据科学语言

原文: PyCoder's Weekly - Issue #388

PyCoder

  • 191006 Zoom.Quiet(大妈) 用时 42 分钟 完成快译
  • 191006 Zoom.Quiet(大妈) 用时 17 分钟 完成格式转抄.

Learn about generators and yielding in Python. You'll create generator functions and generator expressions using multiple Python yield statements. You'll also see how to build data pipelines that take advantage of these Pythonic tools.

(是也乎:

Generators

可以说, 真蟒, 一己之力, 将 Python 领域所有值得嗯哼的事儿, 这几年全部重新嗯哼了一遍... 这是为了获得完全自主产权的教材, 来构筑课程池?

)

"We use simple test cases to compare various high level programming languages. We implement the test cases from an angle of a novice programmer who is not familiar with the optimization techniques available in the languages. The goal is to highlight the strengths and weaknesses of each language but not to claim that one language is better than the others."

(是也乎:

实锤了....

NASA

没有一枝独秀, 只有相对优势.

如果自己用 Python 没毛病, 如果公司来, Java 永远正确.

)

"Working with regex, you have to understand what you are doing: the regex engine for Python, the type of statement you are writing, and alternative tools that are available for your purposes. Yes, there are instances when the re package may not be the best tool to use."

"Every year for the past four years a bunch of Python core developers get together for a week-long sprint at an exotic location. These sprints are sponsored by the PSF as well as by the company hosting the sprint."

(是也乎:

老爹真的开始放飞了, 敢于放权给大家玩内核了...

)

Mypy 0.730 is out, with prettier, colored output and error code support, along with many other fixes and improvements.

(是也乎:

兼容 Py2 的生态圈已经正式起航...再次.

)

讨论

Discussions

(是也乎:

缩进/历史/黑洞/...

)

(是也乎:

Yes and Not,

数学不一定要精通, 但是, 数学依赖的逻辑一定得稳.

)

文章,教程和嗯哼

Articles, Tutorials and Talks

SQL injection attacks are one of the most common web application security risks. In this step-by-step tutorial, you'll learn how you can prevent Python SQL injection. You'll learn how to compose SQL queries with parameters, as well as how to safely execute those queries in your database.

(是也乎:

注入攻击

注入攻击...只是, 也早已有对应模块可以自动防止绝大多数了...

)

Learn how to use Keras and the Rectified Adam optimizer as a drop-in replacement for the standard Adam optimizer, potentially leading to a higher accuracy model (and in fewer epochs).

(是也乎:

Keras 可能又是一个 Panda 级别的作品.

)

"For some reason IO streams are a totally underused feature that rarely comes up in most code. We all know that memory if faster than disk IO, this is what I use IO streams for."

Also read the followup here..

(是也乎:

快也无法替换. )

Learn how to use Python's rich set of operators, functions, and methods for working with strings. You'll learn how to access and extract portions of strings, and also become familiar with the methods that are available to manipulate and modify string data in Python 3.

(是也乎:

字符串和字符数据

这绝对是基础又重要的嗯哼...只是, 涉及中文, 又得复杂一倍.

)

Learn how to work with Pandas iloc and loc to slice, index, and subset your dataframes, for example by row and columns.

(是也乎:

要不是 : 操作符已占用, 否则, 更加直觉

)

(是也乎:

数据科学家应知应会的东西, 太多了...

)

(是也乎:

得益于 VSCode 设计合理的插件体系, 各大框架都可以快速包装自己专用的插件来. 只是....

)

好物

Interesting Projects, Tools and Libraries, Projects & Code

PIRE is an interactive command-line interface allowing you to edit regexes live and see how your changes match against the input you specify.

(是也乎:

这么多年了, 正则表达式 依然没找到合适的辅助表述工具/协议/DSL/...

)

(是也乎:

limeade

动态加载,也就是热升级前夜技巧?

)

📆🐍 活动/大会

Events, MeetUp 真的是全球线下活动组织中心

(是也乎:

logo 设计很不错, .svg 的

)

DAMA

❤️ Happy Pythonic ;-(大妈私人无责任播报)

第3期已开课, 为期6周; 191103 按时结束, 到时再约 4py ;-)

是也乎

NN 3793


Comments


大妈的多重宇宙 - YouTube

全新自媒体系列...科学幻想,读书,说故事...
点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

订阅 substack 体验古早写作:
Zoom.Quiet’s Chaos42 | Substack


关注公众号, 持续获得相关各种嗯哼:
zoomquiet


蟒营®编程思维提高班Python版

**2021.01.11** 因大妈再次创业暂停定期开设, 转换为预约触发:
  • + 任何问题, 随时邮件提问可也:
    askdama@googlegroups.com
-->