Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 22462

Import Python: ImportPython Issue 105 - Modern Dict, Tidy / sanitize data, drop Python 2 in 2017

$
0
0
Worthy Read

Python's dictionaries are stunningly good. Over the years, many great ideas have combined together to produce the modern implementation in Python 3.6. This fun talk is given by Raymond Hettinger, the Python core developer responsible for the set implementation and who designed the compact-and-ordered dict implemented in CPython for Python 3.6 and in PyPy for Python 2.7.
core-python
,
dict

How popular is Python? Based on our survey findings, 19% of Linux and 13% of macOS developers use Python as their primary server-side language. If you want to read more insights like these, contribute to the latest Developer Economics survey - you’ll receive analysed trends in your inbox! The survey is fun, while you’ll get the chance to win a prize, and learn something new !
Sponsor

I ran into this situation today where I wanted to issue a few commands over ssh to a remote host as part of a Click command I'm building to do some ops automation here at REVSYS. It's probably not perfect in terms of error handling, but it sure is simple!.
ssh
,
click

The course will also introduce data manipulation and cleaning techniques using the popular python pandas data science library and introduce the abstraction of the DataFrame as the central data structure for data analysis. The course will end with a statistics primer, showing how various statistical measures can be applied to pandas DataFrames. By the end of the course, students will be able to take tabular data, clean it, manipulate it, and run basic inferential statistical analyses.
data science
,
mooc

In this post, I will summarize some tidying examples Wickham uses in his paper and I will demonstrate how to do so using the Python pandas library.

Considering rich Python Ecosystem of tools, libraries, and frameworks for data crunching, I’d like to share a few examples how to plug Datahub API as a data source to your Python-based workflow. I’ll start with a simple example: how to turn Datahub API JSON output into Numpy arrays using Pandas framework.

Python 3.6.0 came out day before yesterday, and it was like a Christmas present for many of us. But in the midst of all the celebration, many of you were still asking if it is safe to drop Python 2 and move over to Python 3. There still seems to be a fear of missing out on useful third party libraries that lack Python 3 support. So in this post, I will try to settle this issue once and for all by presenting the relevant data. After you have seen all the data, you will be able to come to your own conclusion (I have already expressed my conclusion in the title).
python3

There are already a fair number of books about Numpy (see Bibliography) and a legitimate question is to wonder if another book is really necessary. As you may have guessed by reading these lines, my personal answer is yes, mostly because I think there is room for a different approach concentrating on the migration from Python to Numpy through vectorization.
numpy

performance

pykids is a voluntary effort to bring Python to elementary school (5th & 6th grades). At present I run AWS servers to support my venture. These servers are available for anyone to use. I run a monthly bill of about 20 USD to run this server. The money that you donate will go into support keeping these servers online.
community

IDE

dependency

opinion


Jobs

Bangalore, India
Venture backed company developing technology platform in the field of Law and Finance. They have released SaaS based product |(Complius) in area of legal compliances.


Projects

soundhax - 124 Stars, 20 Fork
A heap overflow in tag processing leads to code execution when a specially- crafted m4a file is loaded by Nintendo 3DS Sound. This bug is particularly good, because as far as I can tell it is the first ever homebrew exploit that is free, offline, and works on every version of the firmware for which the sound app is available.

pep8speaks - 69 Stars, 3 Fork
A GitHub integration to automatically review Python code style over Pull Requests

mx-lsoftmax - 24 Stars, 7 Fork
mxnet version of Large-Margin Softmax Loss for Convolutional Neural Networks.

objectify - 9 Stars, 1 Fork
Upload any image, and the app will tell you the object in the image and translate it to any language you want (read out aloud).

djangohero - 8 Stars, 2 Fork
DjangoHero automates the process of starting a new Django project on Heroku.

pipupdate - 2 Stars, 1 Fork
An easy-to-use PIP package manager. Update, force reinstall, do an easy requirements.txt install, and uninstall all packages in 1 command.


Viewing all articles
Browse latest Browse all 22462

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>