-
Fletcher 0.3: A status report on the mission to get pandas hooked on Apache Arrow
·It has been now nearly two years since the idea came up to use
pandas
’ newExtensionArray
interface to provide columns inpandas
that are backed by Apache Arrow.fletcher
was started as a prototype project to show how this idea can be brought together. Since then there has been quite... -
Fast JDBC access in Python using pyarrow.jvm
·While most databases are accessible via ODBC where we have an efficient way via turbodbc to turn results into a
pandas.DataFrame
, there are nowadays a lot of databases that either only come solely with a JDBC driver or the non-JDBC drivers are not part of free or open-source offering. To access these databases, you can use -
Taking DuckDB for a spin
·TL;DR: Recently, DuckDB a database that promises to become the SQLite-of-analytics, was released and I took it for an initial test drive. Install it via
conda install python-duckdb
orpip install duckdb
. -
How we build Apache Arrow's manylinux wheels
·Apache Arrow is provided for Python users through two package managers,
pip
andconda
. The first mechanism, providing binary, pip-installable Python wheels is currently unmaintained as highlighted on the mailing list. There has been shoutouts for help, e.g. on Twitter that we need new contributors who look after the builds. We sadly cannot point... -
Writing a boolean array for pandas that can deal with missing values
·When working with missing data in
pandas
, one often runs into issues as the main way is to convert data intofloat
columns.pandas
provides efficient/native support for boolean columns through thenumpy.dtype('bool')
. Sadly, thisdtype
only supportsTrue/False
as possible values and no possibility for storing missing... -
Why the NYC TLC trip record data is a nice training dataset for Data Engineers
·The New York City Taxi & Limousine Commission Trip Record Data is a really nice dataset to get started with Data Engineering or teaching it. It has several nice properties that make it quite useful that we will show in this article. We will look at this data using only
pandas
, not introducing any other tooling. Many... -
Data Engineers: The best friends of Data Scientists you forgot to hire.
·At the moment in Computer Science, there are two hot topics: AI and Blockchain. Behind these two buzzwords, there are industries striving to build successful products. Currently, I work in the sector often labelled as AI. Usually, it is also described with other terms like Machine Learning or Big Data. In this sector the currently most sought-after job is the...
-
Data Science I/O - A baseline benchmark for 2019
·Data Science and Machine Learning are tasks that have their own requirements on I/O. As many other tasks, they start out on tabular data in most cases. In contrast to a typical reporting task, they don’t work on aggregates but require the data on the most granular level. Some machine learning algorithms are able to directly work on aggregates but...
-
PyFlame: profiling running Python processes
·Identifying performance bottlenecks in long-running processes often involves careful instrumentation ahead or guessing where the root of the problem may be. A very welcome set of tools are the ones that help you diagnose problems of live systems without modifying them. One important tool I recently came across is the pyflame profiler.
-
Use Numba to work with Apache Arrow in pure Python
·Apache Arrow is an in-memory memory format for columnar data. In more “plain” English, it is a standard on how to store DataFrames/tables in memory, independent of the programming language. One of its most prominent uses is for the
@pandas_udf
decorator in Apache Spark to move data quickly between Scala and Python/pandas. -
AHL Python Hackathon April 2018
·Three weeks ago MAN AHL organised an opensource hackathon at their London office. As part of the Hackathon people should contribute to one of the PyData artifacts they regularly use. To support them in making their first contribution, AHL also coordinated that several core committers of opensource projects were present at the event. I joined in as the representative...
-
Play interactively with Apache Arrow C++ in xeus-cling
·Often, we use
pyarrow
in a Jupyter Notebook during work. With thexeus-cling
kernel, we can also use the C++ APIs directly in an interactive fashion in Jupyter. -
Akka Streams for extracting Wikipedia Articles
·Use Akka Streams as a new technique to extract specific articles from the Wikipedia xml dump into single files without the need to fit all data into RAM.
-
Beats Music Support in Tomahawk (and the long journey on how we got there)
·tl;dr: With the latest nightlies (Win, Mac) you can now use your Beats Music Subscription in Tomahawk. To use it just install the Beats Music Resolver. Although Beats has a nice API, supporting it was a though cruise through our underlying multimedia stack.
-
How to get global media keys support for Tomahawk in XFCE4
·Although there seems to be no native support for controlling a media player via the MPRIS specification in XFCE, you can still set up global shortcuts to use the media keys on your keyboard to control Tomahawk regardless of which application currently has focus.