I wonder how easy it is, to do simple statistics with Python and R. For example, to calculate mean, median and other summary statistics. Let’s start with the following very simple data set. height weight 1.85 85.0 1.80 79.1 1.91 80.5 1.75 80.3 1.77 […]
Tag: python
Mozilla Iodide / Python vs R
Eine interessante Meldung. Mozilla Iodide muss ich unbedingt einmal ausprobieren. Data Science: Mozilla bringt ein webbasiertes Tool zur Datenanalyse Iodide ermöglicht das Erstellen interaktiver Datendiagramme mit JavaScript, CSS und HTML sowie Python. Von Rainald Menge-Sonnentag, https://heise.de/-4335254, Copyright © 2019 Heise Medien. Falls jemand Vergleiche […]
Associative Arrays
When working with associative arrays in Python, I wonder how these work in other languages. Especially functional programming languages. For example, one would create a dictionary, as associative arrays are called in Python, as follows. >>> dic = {'foo': 42, 'bar': 43}>>> dic{'foo': 42, […]
Lambda Expressions
In Python you can use lambda expressions to avoid the creation of temporary, one-time use functions. Look at the following example. def power(x): return x**2 l1 = map(power, range(4)) If you don’t need the power() function in another place, it’s a bit annoying to […]
On list comprehensions II
In my previous blog entry, I shared some findings on creating lists with list comprehensions. I had a further look on this and how to use map and filter functions for list creation with list comprehensions. For example, in Python you can map a […]
On list comprehensions
I first read about list comprehensions when I started with Python. One application of list comprehensions is to avoid loops. A very simple example in Python would be as follows. l1 = [] for i in range(5): l1.append(i) print(l1) l2 = [x for x in […]
15 minutes machine learning with Python
Nice intro tutorial. https://www.theregister.co.uk/2017/06/21/15_minutes_in_machine_learning/
Instagram Makes a Smooth Move to Python 3 – The New Stack
Whoa. I didn’t know that Instagram is running on Python. I’m impressed. https://thenewstack.io/instagram-makes-smooth-move-python-3/
Use Vim as a Python IDE
Liu-Cheng Xu writes about using Vim as a Python IDE. how to use vim as a python ide http://www.liuchengxu.org/posts/use-vim-as-a-python-ide/ Can not wait to try this. Thanks for sharing.
Security issue with Pythons string.format()
Armin Ronacher wrote an interesting article about a security issue with Pythons string.format(). Be Careful with Python’s New-Style String Format http://lucumr.pocoo.org/2016/12/29/careful-with-str-format/ Security issues always scare me.
Go, run(s) Python
Google created a Python runtime in Go. Grumpy: Go running Python! https://opensource.googleblog.com/2017/01/grumpy-go-running-python.html Oh, no Python 3. 🙁 PS: auf Heise.de in Deutsch: https://heise.de/-3588639
Languages For Machine Learning
Article on IBM developerWorks about languages for machine learning. The Most Popular Language For Machine Learning Is … https://www.ibm.com/developerworks/community/blogs/jfp/entry/What_Language_Is_Best_For_Machine_Learning_And_Data_Science Looks like Python, R and Java are a good choice.
Make music with Python
Check out this article on Flexatone HFP, if you want to make music Python. Python Systems for Algorithmic Composition and Computational Musicology http://www.flexatone.org/article/softwarePythonMusicTools I need some free time to try this.
Python 3 vs. Python 2
Not only we have language battles, but version battles too! The (lack of a) case against Python 3 http://blog.lerner.co.il/case-python-3/ It’s Python, Not Python 2, Not Python 3! https://hackernoon.com/its-python-not-python-2-not-python-3-7caeef5adb29#.x6clshtc6 Well, I don’t know much about the differences between 3 and 2. But I can image […]