Issue 455

原文转载自 「蠎周刊」 ( https://weekly.pychina.org/issue/issue-455.html ) By Pythoneerm

预计阅读时间 0 分钟(共 0 个字, 0 张图片, 0 个链接)

PyCon US 2021 开始征集议题

原文: PyCoder's Weekly - Issue #455

pycoder


Google researcher Peter Norvig goes through a suite of short Python programs and exercises for perfecting particular programming skills.

(是也乎:

CODE 这个活动坚持几年了?

)

Learn everything you need to know to get up and running with NumPy, Python’s de facto standard for multidimensional data arrays. NumPy is the foundation for most data science in Python, so if you’re interested in that field, then this is a great place to start.

(是也乎:

等等, 大家难道不是通过 Pandas 们使用 NumPy 的? 直接用什么味儿?

)

This article introduces an approach to structure FastAPI applications with multiple services in mind. The proposed structure decomposes the individual services into packages and modules, following principles of abstraction and separation of concerns.

(是也乎:

Abstraction

一个框架是否大火, 就看基于其上有多少种抽象架构?

)

“In this post, we’ll look at some of the main ways to use NumPy and how it can represent different types of data (tables, images, text…etc) before we can serve them to machine learning models.”

(是也乎:

好象凡事儿, 可视化后, 就可以轻易学到手... 很多时候可能正好相反

)

Learn how to build a dashboard using Python and Dash. Dash is a framework for building data visualization interfaces. It helps data scientists build fully interactive web applications quickly.

(是也乎:

Dash

macOS 下最好的文档工具也叫 Dash...

)

UI designer Jessica Williamson redesigns the Python logo as a hobby project and receives 7000 upvotes on Reddit. Here’s an interview with her.

(是也乎:

Reinventing

效果

很同意, 原先象傻蛇, 现在象锐利超空间虫.

)

探讨/吐糟

Discussions

Anaconda’s CEO responds on the thread: “At this time, there is no prohibition on using Anaconda Individual Edition in a small-scale commercial setting like yours.” Related discussion on Twitter.

(是也乎:

好事儿, 说明真的有銭景了 )

“Right now I am using the standard Python IDLE. I am new to Python and want something better. I have seen a few but they all look too complicated.”

(是也乎:

VSCode/PyCharm/Subl/.. 都有带路党, Vim/Emacs 已经不出没在这种场景中了,

Leo 一生推.

)

文章/教程/嗯哼

Articles, Tutorials and Talks

“Are you familiar with the role data engineers play in the modern landscape of data science and Python? Data engineering is a sub-discipline that focuses on the transportation, transformation, and storage of data. This week on the show, David Amos is back, and he’s brought another batch of PyCoder’s Weekly articles and projects.”

(是也乎:

嗯哼,上周刚刚报道出来, 现在就有对应节目了.

)

“Applying migrations on a live system can bring down your web-server in counter-intuitive ways. I’ll talk about common schema change scenarios and how those can be safely carried out on a live system with a Postgres database. We’ll look at locking and timing issues, multi-phase deployments and migration system peculiarities.”

Real world data sets often include invalid data values. Investigating them can be difficult, since attempting to convert them to the correct types causes exceptions. In this article you’ll take a look at a “real world” messy data set and learn a quick trick to summarize and fix invalid data values.

(是也乎:

望闻问切?

)

“Large scale data collection via web scraping or web APIs must run reliably over days or even weeks. This brings up problems that mainly focus on the robustness of the data collection process. I will try to tackle some of these problems in this post.”

(是也乎:

久违的 Robust , 当年很是流行过一阵, 现在内置在 云原生 概念中了?

)

“Are you building or running an internal machine learning team? How about looking for a new ML position? On this episode, I talk with Chip Huyen from Snorkel AI about building ML teams, finding ML positions, and teach ML at Stanford.”

(是也乎:

其实, 讲真, 这儿的 Finding 如果变成 Making 才怼.

)

“In Pandas, you can use callables where indexers are accepted. It turns out that can be handy for a pretty common use case.”

“How to create QR codes that look like anything by inverting the QR creation process.” (Python source code included.)

(是也乎:

Hacking

QR 关键点保持, 其它随便.

)

Static files are critical to apps, but have little to do with Python code. See what they are and what they do.

Learn the differences between floats and decimals in Python, common issues, and when to use each.

(是也乎:

这事儿, 根源还是在计算成本上,

float 有明确的精度, 所以, 在这个限制之下, 进行了优化, 超过界限就不准;

充分体现了绝不提前优化的精神.

decimal 就是被迫优化的成果.

)

(是也乎:

Violin

小提琴图表...

)

Two easy recipes for renaming column(s) in a Pandas DataFrame.

(是也乎:

是的 Pandas 中对数据的折腾早已任性透了

)

(是也乎:

EDD ~ 软件驱动式开发?

)

(是也乎:

老赖, 不如用 PDF

)

好物/妙品/...

Interesting Projects, Tools and Libraries, Projects & Code

(是也乎:

PBL ~ 项目式学习, 最赛高了, 也最烧脑.

)

(是也乎:

a.zip(b).map(func1).filter(func2).forall(func3)

vs. 原生 Python 中

all(map(func3, filter(func2, map(func1, zip(a, b)))))

也就是说, Ruby 在 Python 中复活ing...

)

(是也乎:

Mutation ~ 突变测试? 测试方法越来越多了...

)

📆🐍 活动/大会

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

⋅ Real Python Office Hours (Virtual) January 20, 2020

DAMA

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

(是也乎:

老司机开新坑, 时隔10年, 沈游侠再次开声, 值得关注:

Bilibili

)

PS:


好文笔,感叹号年度配额: 0/3

投稿/反馈邮箱:

askdama@googlegroups.com

(邮件列表地址, 当成正常邮件发送邮件就好, 不用注册, 不用翻越...)


ZoomQuiet/大妈

就是四处 是也乎,( ̄▽ ̄) 的那个大妈:

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)
公开课程: 蟒营 (订阅号: Mainium)
历史吐糟: Chaos42 (订阅号 PythoniCamp)

as 创始组织者:
    PyChina (订阅号: PyChinaOrg)
    本地社区: 
        GDG珠海 (订阅号: GDG-ZhuHai)
        TFUG珠海 (订阅号: ZH_TFUG)

NN 4257

RPP

more_vert