蠎加载 182
原文: Import Python Weekly Newsletter - Issue No 182 欢迎, 来 PyChina/weekly 共同翻译/增订/推荐 周刊 蠎消息 ;-) 该读 ~ 文章, Blog, 教程… PEP 505 – None-aware operators PEP Several modern programming languages have so-called “null-coalescing” or “null- aware” operators, including C# , Dart, Perl, Swift, and PHP (starting in version 7). These operators provide syntactic sugar for common patterns involving null references. (是也乎: 越来越多的语法糖,在老爹离开后开始嗯哼…不怕牙痛嘛? (a ?? 2 b ?? 3) == a ?? (2 (b ?? 3)) (c() ?? c() ?? True) == True (True ?? ex()) == True (c ?? ex)() == c() ) 应该用哪些 Python 静态分析工具? static analysis In this review, we’ll be taking a look at our favorite options and explain which ones to use. Python 和 Pandas 匿名化数据的简单方法 pandas Recently, I was given a dataset that contained sensitive information about customers and that should not under any circumstance be made public. The dataset resided on one of our servers which I deem to be a reasonably secure location. I wanted to copy the data to my local drive, in order to work with the data more comfortably and at the same time not having to fear that the data is less save. So, I wrote a little script that changes the data, while still preserving some key information. I will detail all the steps that I have taken, and highlight some handy tricks along the way. AWS Lambda + Serverless Framework + Python— 第1部分:循序渐进“Hello World” aws lamda I am creating a series of blog posts to help you develop, deploy and run (mostly) Python applications on AWS Lambda using Serverless Framwork. SIP Telephony 在 Python - pdf 文件 SIP Implementer’s Guide to Scalable and Robust Internet Telephony with Session Initiation Protocol in ClientServer and Peer-to-Peer modes in Python 2018 年顶级编程语言 - IEEE Spectrum ranking Python extends its lead, and Assembly enters the Top Ten 线性压缩在 python: PCA vs 无监督的特征选择 data science We illustrate the application of two linear compression algorithms in python: Principal component analysis (PCA) and least-squares feature selection. Both can be used to compress a passed array, and they both work by stripping out redundant columns from the array. The two differ in that PCA operates in a particular rotated frame, while the feature selection solution operates directly on the original columns. As we illustrate below, PCA always gives a stronger compression. However, the feature selection solution is often comparably strong, and its output has the benefit of being relatively easy to interpret — a virtue that is important for many applications. OpenCV 数人头 image processing In this tutorial you will learn how to build a “people counter” with OpenCV and Python. Using OpenCV, we’ll count the number of people who are heading “in” or “out” of a department store in real-time. (是也乎: ) Salmon Run:用 Python dedupe library 嗯哼重复关键字 topic modeling I have been experimenting with keyword extraction techniques against the NIPS Papers dataset, consisting of titles, abstracts and full text of all papers from the Neural Information Processing Systems (NIPS) conference from 1987-2017, and contributed by Ben Hamner. The collection has 7239 papers written by 9785 authors. The reason I preferred this dataset to others such as Reuters or Medline is because it is smaller, and I can be both programmer and domain expert, and because I might learn interesting things while combing through the text of the papers looking for patterns to exploit. 市长来自哪 : 用 Python 和 SPARQL 查询维基数据 - 参数化思想 datascience, sparkql In this article, we will be going through building queries for Wikidata with Python and SPARQL by taking a look where mayors in Europe are born. 好物 ~ 包/模块/库/片段… ...