The Python Graph Gallery
This website displays hundreds of charts, always providing the reproducible python code!
The Python Graph Gallery
This website displays hundreds of charts, always providing the reproducible python code!
GSoC 2017: Final Report
The final days of this year’s Google Summer of Code have arrived and I am wrapping up my project. The last three months have been full of intense coding on the Pattern library and I’m happy to say that all milestones described in my project proposal are knocked ...
Read more...f–strings in Python 3
I came across a negligible but convenient new string formatting feature introduced within PEP 498 (Literal String Interpolation) in Python 3.6. Essentially, it is a way of string formatting that lets you use embedded expressions that are evaluated at run time inside string constants. Here is what the official ...
Read more...GSoC 2017: Phase #2
The second GSoC coding period is over and has brought substantial progress. As of today, all of the submodules with the exception of pattern.server
have been ported to Python 3.6. Pattern now shows consistent behavior for both Python 2.7 and Python 3.6 across all modules. All ...
GSoC 2017: Phase #1
The first weeks of GSoC are coming to an end, so let’s take some time to reflect on the overall progress during the first phase of the coding period.
Read more...GSoC 2017: Welcome to the ride!
I’m excited to announce that I have been selected to take part in this year’s Google Summer of Code. I will spend a major part of my summer working on the pattern
module, an open–source Python library for natural language processing (NLP), machine learning and network analysis ...
Boosting numpy
: Why BLAS Matters
I recently noticed that the same code on the same machine had vastly different run times in different virtual environments. This looked a little suspicious to me. Digging deeper, I realized that the reason for this was that numpy
was linked against different BLAS libraries in different virtual environments, which ...
Customizing nbconvert
‘s PDF Export
When working with the Jupyter Notebook (formerly IPython Notebook) one often wants to export the whole notebook including Python code and output of each cell to a document format like PDF which is more suitable for handing in reports or assignments. Jupyter’s nbconvert is a tool which allows you ...
Read more...Computational Statistics in Python