Issue 479

2021 Python Web Conference 视频发布 原文: PyCoder’s Weekly - Issue #479 210630 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210630 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Python Redux 中的子类化 HYNEK SCHLAWACK Have you ever heard someone say that composition is better than inheritance? It’s an age-old conflict in object-oriented programming that’s been the impetus for numerous online debates. Author Hynek Schlawack, who describes himself as “firmly in the composition-over-inheritance camp” explains in this article how “Python is designed in a way that you can’t write idiomatic code without subclassing sometimes.” (是也乎: 组合总比继承香? 看场景了, 如果要分包给印度弟兄们, 还是继承吧… ) Python 中的相关分析初步 OLGA BEREZOVSKY • Shared by Olga Berezovsky Correlation analysis is a useful part of exploratory data analysis. It can help you identify potential relationships between various features of your data. In this helpful guide, you’ll learn how to do correlation analysis in a pandas DataFrame. You’ll see how to display a correlation matrix as a heatmap and explore some guidelines for identifying when correlation might imply causation. 反转 Python 列表: 超越 .reverse() 和 reversed() REAL PYTHON In this step-by-step tutorial, you’ll learn about Python’s tools and techniques to work with lists in reverse order. You’ll also learn how to reverse your list by hand. (是也乎: ) Python 3.9.6, 3.8.11, 3.7.11, and 3.6.14 现已推出 CPYTHON DEV BLOG 2021 Python Web Conference 视频发布 SIXFEETUP.COM • Shared by Laura Stephens DjangoCon US 2021 提案征集已开放 PAPERCALL.IO CPython 内幕/平装本现已上市! REAL PYTHON With CPython Internals: Your Guide to the Python 3 Interpreter, you’ll unlock the inner workings of the Python language, learn how to compile the Python interpreter from source code, and cover what you’ll need to know to confidently start contributing to CPython yourself. (是也乎: ) 探讨/吐糟 Discussions ...

2021-06-30 · 4 min · 1961 words · ZoomQuiet

Issue 478

FastAPI 和 Pydantic 的未来一片光明 原文: PyCoder’s Weekly - Issue #478 210623 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210623 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. 如何用 Pandas 透视和绘制数据 STEFANIE MOLIN • Shared by Stefanie Molin One of the challenges of working with data is knowing how to manipulate the data format for a particular analysis. And there’s no single correct format. You need to know how to melt, pivot, and transpose data into a format that fits whatever you’re analyzing. If you enjoy this article, be sure to also check out Stefanie’s Pandas Workshop. (是也乎: 真.从来没在 Excel 中用过 数据透视表, 应该还是翻译的问题… ) FastAPI 和 Pydantic 的未来一片光明 SEBASTIÁN RAMÍREZ • Shared by Alex Mitelman Not long ago there was some chatter on the internet about a change in Python 3.10 that would impact Python projects that check types at runtime. The discussion centered around FastAPI and Pydantic and had some folks worried about the future of those projects. In this article, FastAPI’s creator explains what the discussion was all about and why the future of FastAPI and Pydantic remains bright. 用 Python 简化复数 REAL PYTHON In this tutorial, you’ll learn about the unique treatment of complex numbers in Python. Complex numbers are a convenient tool for solving scientific and engineering problems. You’ll experience the elegance of using complex numbers in Python with several hands-on examples. (是也乎: ) Ewa Jodlowska 将卸任 PSF 执行董事 PYTHON SOFTWARE FOUNDATION Psycopg 2.9 发布 PSYCOPG.ORG EuroPython 2021: 发布时间表 EUROPYTHON.EU Python 3.10.0b3 可用 CPYTHON DEV BLOG 探讨/吐糟 Discussions ...

2021-06-23 · 4 min · 1844 words · ZoomQuiet

Issue 477

Excel+Py 就是数据科学的未来? 原文: PyCoder’s Weekly - Issue #477 210616 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210616 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. Excel/Python 和数据科学的未来 MATT ASAY What’s the most widely used tool in data science? Is it pandas or NumPy? Is it the Python language itself? Not really. It’s Excel. You might argue that data scientists aren’t using Excel as their primary tool, and you might be right. But Excel enables non-technical users, like small business owners, to gain insights into their data. In this article, Anaconda CEO Peter Wang discusses his goal of making Python and PyData the “conceptual successor” to Excel. (是也乎: 对的, 无论 Jupyter 怎么折腾, 如果 Excel 嵌入 Python, 那么瞬间, 没 notebook 什么事儿了… ) 数据分析用实 SQL HAKI BENITA If you need to do some data analysis, what tool do you reach for first? Is it pandas? While pandas is great, it comes with some costs that you might not be aware of, including large memory overhead that can quickly get in the way of your projects. Using databases with SQL can alleviate memory issues. In this tutorial, you’ll learn how to do common data analysis tasks in SQL, which opens the door to mixing SQL and pandas to create lightweight programs that are also fast! (是也乎: SQL 永远的语言 ) Python 实践题: 解析CSV文件 REAL PYTHON In this tutorial, you’ll prepare for future interviews by working through a set of Python practice problems that involve CSV files. You’ll work through the problems yourself and then compare your results with solutions developed by the Real Python team. (是也乎: 常年手工解析 .csv 的俺… ) Jazzband 加入 PSF 财政赞助计划 JAZZBAND.CO 微软为加速 Python 专门开展招聘 TWITTER.COM/GVANROSSUM (是也乎: 嗯哼? 这个热点蹭得专业哪… ) Mypy 0.900 发布 MYPY-LANG.BLOGSPOT.COM (是也乎: 打死也不发布 1.0 党 ) 探讨/吐糟 Discussions ...

2021-06-16 · 4 min · 1839 words · ZoomQuiet

Issue 476

WSL变成 Python 开发第一选择? 原文: PyCoder’s Weekly - Issue #476 210609 Zoom.Quiet(大妈) 用时 42 分钟 完成快译 210609 Zoom.Quiet(大妈) 用时 37 分钟 完成格式转抄. PEP 654: 例外组和 except* JOANNA JABLONSKI Currently, Python’s exception handling mechanisms only allow you to focus on a single exception at a time. PEP 654, which is still in draft, aims to change that by adding to the Python language the concept of an exception group. Learn about this proposed feature in this article covering the discussion about exception groups from the 2021 Python Language Summit 70+ 面向初学者/中级和经验丰富的开发的 Python 项目 INSANE We don’t often include listicles in PyCoder’s Weekly, but this was just too good of a resource to pass up. If you’re looking for some Python projects to tackle, whether your a beginner looking to learn some new skills or an advanced developer researching implementation ideas, this list of over 70 Python projects has you covered. (是也乎: 多数都是依赖外部网关键数据集/服务的案例, 对于中国学习者意义不大… ) 上下文管理器和 Python 的 with 语句 REAL PYTHON Context managers are a must-know Python language feature. In this step-by-step tutorial, you’ll learn what the Python with statement is and how to use it with existing context managers. You’ll also learn how to create your own context managers. (是也乎: with -> async with 可堆叠的特性哪, 非常赞 ) PyCon US 2021 录制完成! PYCON.BLOGSPOT.COM You can now watch all of the PyCon 2021 US videos on YouTube. (是也乎: 深夜连续剧, 已经第16季了… ) CircuitPython 6.3.0 发布ed ADAFRUIT.COM The third alpha release of the next major version 7.0.0 is also available. (是也乎: 比树莓派 还小巧的硬件平台 ) PyCharm 2021.2 EAP 已发动 JETBRAINS.COM Try out new features and provide feedback on the latest, unreleased version of PyCharm. 探讨/吐糟 Discussions ...

2021-06-09 · 4 min · 1761 words · ZoomQuiet