DataSciencePi: Using a Raspberry Pi as a plug-in processor
By Russell Barnes. Posted

Advertisement
Introducing the smarter desktop: use cloud apps, thin clients, and get real work done on a Raspberry Pi. Also in the magazine we’re building a digital jukebox, controlling a robot arm, storing…
Scott Edenbaum, a recent graduate from the NYC Data Science Academy, has turned a humble Pi Zero into DataSciencePi: a data crunching, code trialling, data science-ing auxiliary processor.
Wanting to avoid “the potential for security exploits” of installing MySQL on his main development computer, Scott instead used virtualisation software Docker to create standard environments for Python and R (a programming language suited to data science).
Scott’s approach avoids the “multiple (possibly conflicting) dependencies” of Python and R, while allowing him to create his sandbox coding and testing environment quickly and easily. Building the environment from scratch each time is “a process that takes 2+ hours on a Raspberry Pi 3”, let alone a modest Pi Zero.
DataSciencePi: A plug-in processor made from a Raspberry Pi
“Because the device is so inexpensive, I can see there being a lot of possibility using it for education” Scott tells us, while the standardised environment saves “headaches” such as installing libraries and managing package repositories.
Scott’s project could replace Excel “for some tasks”, while Docker “allows deployment and management of a few devices or hundred, without too much extra work.” He says there are “a lot of interesting cases I haven’t thought of.”
The project is on GitHub, and Scott has documented the installation process.

Russell runs Raspberry Pi Press, which includes The MagPi, Hello World, HackSpace magazine, and book projects. He’s a massive sci-fi bore.
Subscribe to Raspberry Pi Official Magazine
Save up to 37% off the cover price and get a FREE Raspberry Pi Pico 2 W with a subscription to Raspberry Pi Official Magazine.
More articles

Picocomputer 6502
The Picocomputer 6502 is truly open-source hardware: just download the design files from GitHub, send them to the PCB manufacturing service of your choice, slot in the components (which are all common and available from, among others, Mouser), and you’ve got a machine that will bring a tear to the eye of anyone who played […]
Read more →

CrowPi 3 review
An electronics playground with added AI lessons for Raspberry Pi, Pico, and more.
Read more →

Network mapper
It’s not as efficient as reading a table of figures, but we love this display anyway.
Read more →
Sign up to the newsletter
Get every issue delivered directly to your inbox and keep up to date with the latest news, offers, events, and more.