蠎周刊418 ~Pandas DataFrame: 使处理数据令人愉快
发布日期:2022-02-10 13:35:45 浏览次数:41 分类:技术文章

本文共 7073 字,大约阅读时间需要 23 分钟。

原文:

PyCoder

  • 200429 (大妈) 用时 42 分钟 完成快译
  • 200429 (大妈) 用时 37 分钟 完成格式转抄.

    • RYAN DONOVAN

The final version of Python 2 has been released. As the Python community looks forward to the new era, Ryan Donovan from the Stack Overflow Blog takes some time to reflect on the transition and points out that, while support for Python 2 from official channels may be gone, the language isn’t dead. In fact, there’s reason to believe it will live on for decades to come.

(是也乎:

再次: 不会的, Python 2.x 足以用到下个10年...

)

    • MARTIN HEINZ
    • • Shared by Martin Heinz

Python 3.9 is scheduled for release on May 10, 2020, and it’s packed full of new goodies. Explore these new features in this overview by Martin Heinz, including new dict operators, updates to the math module, new string methods, a functools.ToplogicalSorter class, and more!

(是也乎:

实话, 并不想知道...

一个语言不是靠追加越来越多特性存活的...

)

    • REAL PYTHON

In this tutorial, you’ll learn how you can use the Python pickle module to convert your objects into a stream of bytes that can be saved to a disk or sent over a network. You’ll also learn the security implications of using this process on objects from an untrusted source.

(是也乎:

pickle

pickle 绝对是 Python 内建模块中最迷人的一个, 谁都忍不住溢用她...

)

    • PYTHON.ORG

As part of PyCon US 2020, the Python Steering Council will record a Q&A. They are soliciting questions from the community, so here’s your chance to get your burning questions answered!

(是也乎:

很认真, 也很无奈...

)

    • REAL PYTHON
    • course

This course is a reference guide to common Python application layouts and project structures for command-line applications, web applications, and more.

(是也乎:

Structuring

的确, Python 程序其实,非常 八股文的...

输入->处理->输出, 没了...

)

讨论

Discussions

    • REDDIT

It’s not that professional programmers never fail. They’ve just learned how to deal with failure and recover from it—most of the time, anyway. What coping mechanisms have you come up with?

(是也乎:

这不就是调试嘛?

制造失败来检验正确.

)

    • REDDIT

Lots of great advice for new Python programmers in this thread!

(是也乎:

哭述...无尽的...

其实, 最基础的, 一年以内可以用 Python 赚到钱, 那么一切目标都达到了.

)

文章,教程和嗯哼

Articles, Tutorials and Talks

    • MOSHE ZADKA

Quick quiz: how many numeric data types are there in Python? If you answered “two, duh” then you might be surprised to learn that there are actually four! In addition to int and float, the fractions and decimal standard library modules implement data types used to represent fraction and decimal numbers exactly. Learn about all of Python’s numeric data types, their strengths and weakness, and how to choose the right one in this short-but-informative article from Moshe Zadka.

    • ITAMAR TURNER-TRAURING

Docker is a popular tool for distributing applications bundled with their environments. It’s often sold as a cure to the “it worked on my machine” conundrum, but you’re not alone if you’ve found this to be a bit oversold. The issue isn’t with Docker, though. Chances are your images aren’t completely reproducible. In this tutorial, you’ll learn some best practices for creating reproducible Docker builds.

    • RUEVEN LERNER

Imagine you’re maintaining an open-source Python package and you’re going to release a new version with breaking changes. You warn users about those changes in documentation and even blast the info on social media channels. But wouldn’t it be great if you could warn users right in their terminal as their using your tool? Well, with Python’s warnings module, you can! How are warnings different from Python exceptions? Learn how to send and filter warnings, and why you would want to do so.

    • TOBIAS PFEIFFER

Users love being able to configure an application. But dealing with user configuration means parsing untrusted input, validating that input, and figuring out how to access it safely in all the layers of your applications. Python has a rich configuration ecosystem. Lots of articles focus on how to use various configuration formats in your Python programs but skip out on the finer details of how and when configuration should be validated. This tutorial fills in some of those gaps.

(是也乎:

又来...配置的确是软件工程中比较纠结的一个方面, 不过, 用好 Python 本身就足以在配置上非常自在了;

关键是克制. 嫑在配置文件中包含过多计算/判定/摄取/... 之类行为.

)

    • MIKE DRISCOLL

Have you heard about Python’s set data type? A set is an unordered collection of distinct objects that support fast membership tests and can be used to remove duplicates from a sequence. Learn all about this handy data type in this beginner-friendly article from Mike Driscoll.

    • REAL PYTHON

In this tutorial, you’ll get started with Pandas DataFrames, which are powerful and widely used two-dimensional data structures. You’ll learn how to perform basic operations with data, handle missing values, work with time-series data, and visualize data from a Pandas DataFrame.

(是也乎:

使用 Pandas 最大的技巧, 可能就是别怕浪费内存, 能复制时, 一定要复制, 以免纠缠

DataFrame

)

    • ANDREA STAGI
    • • Shared by Andrea Stagi

This article explores rate limiting algorithms using Python and Redis, starting from a naive approach and culminate at an advanced one called Generic Cell Rate Algorithm (GCRA).

    • GITHUB.COM/KMILLE

“We take an email and verify the the DKIM-Signature step by step using Python. We also take care about the signing itself (RSA). Source code included.”

(是也乎:

by hand 就是从头撸, 将 邮件的 DKIM 签名详细刷了一遍

)

    • ERIK MARSJA

In this tutorial, you’ll learn how to create a correlation matrix in Python with NumPy and Pandas. Plus upper & lower triangular (tables).

    • MICHAEL HERMAN
    • • Shared by Michael Herman

(是也乎:

gitlab 在长年陪跑情况下, 终于发现了自己最大的优势, 开始加强 CI/CD 方面的功能, 所以, 大家都来了...

)

    • JAMES TIMMINS
    • • Shared by James Timmins

(是也乎:

嗯哼? 坚持了8年, 周刊终于有越来越多来自社区的自发推荐了... 不容易.

)

    • FLORIAN DAHLITZ
    • • Shared by Florian Dahlitz

(是也乎:

嵌入在 CI/CD 过程中就很香了...

)

    • REDOWAN DELOWAR
    • • Shared by Redowan Delowar

好物

Interesting Projects, Tools and Libraries, Projects & Code

    • GITHUB.COM/ASRP

(是也乎:

为了证明这一断言:

Python is Lisp with syntactic sugar and Lisp is Forth with syntactic sugar.

于是发现了叕一个新语言; Forth 是比 Lisp 更加极端的一门小众开发语言.

这样的代码:

fib <- fun[i]:    if i < 3:        return(1)    return(fib(x - 1) + fib(x - 2))

也可以这么表达:

F'[ pick1 pushi: 3 < [ drop1 1 return ] if  pick1 1 - fib pick2 - fib + s21 drop1 return ] bind: fib'F

)

    • GITHUB.COM/ASTROPY
    • GITHUB.COM/HEALEYCODES

(是也乎:

自动读取Twitter 并打印成发票以便晚上慢慢读...

)

    • GITHUB.COM/BENTOML
    • GITHUB.COM/TAICHI-DEV

(是也乎:

太极

全新语言, 专注高效完成物理引擎/粒子系统/...等等需要海量计算的动画自动生成....

已经有丰富的案例, 是的国货. 基于 Python 深度定制.

)

    • GITHUB.COM/KANTORD

(是也乎:

LibreLingo

这个很牛了...GPLv3; 可以拿来作各种好玩儿的东西了.

)

    • GITHUB.COM/VT-VL-LAB

(是也乎:

inpainting

从 3D 空间的理解上自动化处理照片, 华人主力团队成果, PyTorch 为核心.

)

📆🐍 活动/大会

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

    • May 1st to May 3rd, 2020

(( ̄▽ ̄):

COVID-19 威能之下, 大会都线上了..连 Hackathon 也在线了... 可是没有一起熬夜的小伙伴在身边, 这种连续开发就没味道了哪...

)

DAMA

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

101camp8py 已经开始报名(能开发票 ;-)

报名

课程规划:    报名截止 2020.5.24    正式开课 2020.5.31    课程结束 2020.7.12

详情 =>

PS:

  • 首发:
  • 修订:

NN 3998

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

投稿/反馈邮箱:

askdama@googlegroups.com

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


ZoomQuiet/

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

私自嗯哼: ZoomQuiet (订阅号: ZoomQuiet42)公开课程: 蟒营 (订阅号: Mainium)历史吐糟: Chaos42 (订阅号 PythoniCamp)as 核心组织者:    PyChina (订阅号: PyChinaOrg)    本地社区:         GDG珠海 (订阅号: GDG-ZhuHai)        TFUG珠海 (订阅号: ZH_TFUG)

第8期 已经开始报名:

  • 报名截止 2020.5.24
  • 正式开课 2020.5.31
  • 课程结束 2020.7.12

(明确: 能开发票)

服务:

伴你重享学习乐趣

蟒营™:

Powered by: /

本文由博客一文多发平台 发布;

转载地址:https://blog.csdn.net/zoomquiet/article/details/105854395 如侵犯您的版权,请留言回复原文章的地址,我们会给您删除此文章,给您带来不便请您谅解!

上一篇:linux常用命令
下一篇:钩陈/ 为什么会忍不住复训蟒营™

发表评论

最新留言

留言是一种美德,欢迎回访!
[***.207.175.100]2024年03月14日 21时26分03秒

关于作者

    喝酒易醉,品茶养心,人生如梦,品茶悟道,何以解忧?唯有杜康!
-- 愿君每日到此一游!

推荐文章

owdcloud mysql_MySQL在Ubuntu远程配置 2019-04-21
python基础装饰器_Python基础 装饰器及练习 2019-04-21
python导出csv不带引号的句子_不带双引号写入CSV文件 2019-04-21
python爬虫代码模板_Python:学习Python爬虫的第一天 2019-04-21
springboot获取原生js请求_springboot跳转原生html 2019-04-21
java buffer nio_Java NIO之Buffer(缓冲区)入门 2019-04-21
android java加密_android 和java平台通用的AES加密解密 2019-04-21
java导出类_java导出excel工具类 2019-04-21
java学习手册下载_Java学习手册 2019-04-21
axios delete有请求体吗_关于axios请求——delete方法 2019-04-21
java 自助更改密码 api_搭建ldap自助修改密码系统--Self Service Password 2019-04-21
php继承exten,stylus中文文档 » 继承(@extend) » 张鑫旭-鑫空间-鑫生活 2019-04-21
mysql函数大全 pdf,MySQL函数大全 2019-04-21
php 常用文件系统函数,php 文件系统函数整理介绍 2019-04-21
android pm.java,java – AM / PM的Android DateFormat因设备而异 2019-04-21
oracle存储过程调用sql文件,oracle - 在SQL Developer中运行存储过程? 2019-04-21
oracle同时报604和12507,V$SES_OPTIMIZER_ENV 查不到刚修改的隐含参数, 2019-04-21
zblog的php更换域名,zblogphp更换域名后,原zblog里使用了固定域名,登录不进去怎么办... 2019-04-21
oracle dnfs 配置,Source of Oracle参数解析(dnfs_batch_size) - django-\/\/ i K | 2019-04-21
oracle所需的环境,转:面对一个全新的oracle环境,首先应该了解什么? 2019-04-21