GB
  
You are currently viewing the United Kingdom version of the site.
Would you like to switch to your local site?
13 MIN READ TIME

VISIDATA

Tackling terminal tabular table tools!

With the right tool at his disposal, Shashank Sharma has no trouble making sense of vast heaps of tabular data.

OUR EXPERT

Shashank Sharma is a trial lawyer in New Delhi and an avid Arch user. He’s always on the hunt for affordable geeky memorabilia.

Vast amounts of information, separated into logical rows and columns that add up to a V table, is the layman’s definition of a data set. We see such data sets everywhere, from the everchanging prices of consumer electronic goods to polling statistics, results of football matches, and more. With the right tool at your disposal, you can explore, clean, edit, summarise, analyse and plot the data into graphs for quick assimilation. While working with spreadsheets or CSV data is not traditionally envisioned as a task suited for the command line, VisiData will quickly dispel you of such notions.

Data from 2020 league results. You can use the mouse scroll wheel to navigate the file.

Written in Python and released under the GPLv3, VisiData is incredibly fast and lightweight. You can easily use it to work with data sets featuring a few million rows of data. The project’s goal for future releases is to be able to handle hundreds of millions of rows of data.

For our money, one of VisiData’s best features is that it’s non-destructive. This means that it doesn’t alter your raw data by default, leaving you free to manipulate the data to best analyse it without fear of changing it in any fashion. In fact, it’s also possible to save a VisiData session so that your particular manipulations are recorded, and you can then restore the session without having to start again from scratch. All this and more will become obvious as you go through this tutorial and, more importantly, spend some quality time working with VisiData.

Sit at the table

Some distributions, such as Arch Linux, carry VisiData in their software repositories. However, the quickest way to install the latest version is to use Pip, Python’s package manager.

If you already have Pip installed on your distro, run the pip3 install visidata command. You can check the version of VisiData with the vd --version command. The project is constantly under development and this tutorial is based on version 2.10.2.

Ubuntu and Fedora users can install Pip using the software repositories by installing the python3-pip package with the sudo apt install python3-pip or sudo dnf install python3-pip respectively.

Unlock this article and much more with
You can enjoy:
Enjoy this edition in full
Instant access to 600+ titles
Thousands of back issues
No contract or commitment
Try for 99p
SUBSCRIBE NOW
30 day trial, then just £9.99 / month. Cancel anytime. New subscribers only.


Learn more
Pocketmags Plus
Pocketmags Plus

This article is from...


View Issues
Linux Format
February 2023
VIEW IN STORE

Other Articles in this Issue


LINUX FORMAT
BRAIN TUMOURS MOVE FAST WITH YOUR HELP WE CAN TOO!
WELCOME
LINUX FORMAT
We’re kicking off 2023 with a selection of hot Pi projects – what maker builds or new open source ventures would you recommend for readers to try this year?
Build the future
Why didn’t you pick up that flashy MacFormat
REGULARS AT A GLANCE
Newsdesk
THIS ISSUE: CPU support » Rust » Linux on Apple » AMD ray tracing » Thunderbird for Android » RGB lighting
TURN TO RUST
Adrian Ratiu is a senior software engineer at
EXPERT ADVICE
Keith Edmonds is MD of Tiger Computing, which
Distro watch
Fresh from the farm.
HAPPY NEW YEAR
Donnie Berkholz is senior vice president, product, at
BYE, 2022!
Jon Masters is a kernel hacker who’s been
Kernel Watch
Jon Masters keeps an eye out for all the latest happenings in the Linux kernel, so you don’t have to.
ONGOING DEVELOPMENT
Right on cue, following the Linux 6.1 announcement,
Answers
Got a burning question about open source or the kernel? Whatever your level, email it to answers@linuxformat.com
Mailserver
WRITE TO US Do you have a burning
LETTER OF THE MONTH
Laptop drive Over the last few months, the
Cryptomator
Version: 1.6.15 Web: https://cryptomator.org
PowerShell
Version: 7.3.0 Web: https://github . com/PowerShell/PowerShell F ree
JOSM
Version: 22.10 Web: https://josm.openstreetmap.de
Logseq
Version: 0.8.11 Web: https://logseq.com
Easy Effects
Version: 7.0.0 Web: https://github.com/ wwmm/easyeffects
Ear Tag
Version: 0.2.1 Web: https://github . com/knuxify/eartag
Gabut Download Manager
Version: 1.9.9 Web: https://github . com/gabutakut/gabutdm
3D-Puzzles
Version: N/A Web: https://github.com/ volatilflerovium/3D-Puzzles
Total Chaos
Version: 1.2.1 Web: www.moddb.com/ mods/total-chaos
Metadata Cleaner
Version: 2.2.7 Web: https:// metadatacleaner.romainvigier.fr
Hidamari
Version: 3.2 Web: https://github.com/ jeffshee/hidamari
LINUX FORMAT
The #1 open source mag Future Publishing Limited,
REVIEWS
Wix
Shashank Sharma takes the feature-rich site builder for a test drive.
AMD Ryzen 5 7600X
A beastly “budget” gaming CPU that Christian Guyton has found has one big temporary drawback.
WattOS R12
Nate Drake explores how WattOS can bring your ancient hardware to life with this zippy, if spartan Linux distro.
Kali Linux 2022.4
If you exist in the grey twilight between good and evil, and want to look cool while doing it, David Rutland has just the distro for you.
Nitrux 2.5.1
An impressive beginner distro that’s well worth your time, even if you spend most of it tweaking the settings, says Mayank Sharma.
Victoria 3
“The peasants are revolting,” cries The Management, but really it’s just Jonathan Bolding serving up their afternoon tea and biscuits.
ROUNDUP
Roundup
Element 1.11.14 » Cinny 2.2.2 » Mirage 0.7.2 » NeoChat 223.09 » Fractal 4.4.0
Ease of installation
Most applications offer multiple package formats for installation.
Look and feel
You’ll see the interface a lot…
Logging in and getting started
Having conversations on Matrix is open until you set up your own groups.
Community and status
Use the power of community for yourself.
How are they made?
Language and framework make a long-term difference.
Encryption options
Look out for ways to protect privacy.
Frequency of updates
To use it, you need updates.
The Verdict
Matrix chat clients
ALSO CONSIDER
Syphon is an up and coming client that
Hot Pi projects
Dig in to our New Year smorgasbord of hot Pi projects, from Pico devices running MicroPython to full-Pi setups, with expert guidance from Les Pounder and Matt Holder.
I like to make it, make it
Welcome to the maker revolution – but first, get your Pi up to speed.
OVERCLOCK YOUR Pi
It’s easy to overclock your Pi to gain
Play retro games
Defend the universe, save the princess, win the race and all without spending a 10-pence piece!
Make a media centre
Settle down with your own open source media centre and watch the latest blockbusters with a side of Pi and popcorn.
Build a Wi-Fi router
Create a Raspberry Pi-based Wi-Fi router as a secure option for use around the home.
Track and scan planes
Use your Raspberry Pi to track aircraft or detect local devices to keep an eye on all kinds of data.
Master the Pi Pico GPIO
Get to grips with the Raspberry Pi Pico’s GPIO to open the gateway to a range of simple projects.
Convert currency
Work with remote data using an API and the Pi Pico W to make a live currency converter.
Build a smart home
Use ESPHome to feed a wide range of useful data to a smart home hub via a Raspberry Pi Pico W.
Control NeoPixel LEDs
Create animated lighting effects with the brightest LEDs connected to your Raspberry Pi Pico.
We’re on the case!
A case isn’t just for Christmas – it’s a life-long home for your chosen Raspberry Pi project, so make sure you pick a good one!
IN DEPTH
Contributing for non - coders
Aaron Peters, who is a coding tinkerer at best, describes some ways that non-technical folks can contribute to open source projects.
Pi USER
Santa Claus delivers extra Pis for Christmas
Saint Nick, aka Eben Upton, drops 100,000 extra Raspberry Pis on Tiny Tim just in time for Christmas.
Cool Pi 4
Not cool dude!
Aaeon Extreme!
Too much to handle?
Pi-TERNATIVE LIFESTYLE?
Neil Mohr badgers his small children into doing
Petoi Bittle Robot Dog
The rise of quadruped robots is upon us — their mission to boost STEM and AI learning with Anj Bryant.
Elegoo Neptune 3 Pro
Denise Bertacchi wishes everything in life could be relied upon to add more features while remaining excellent value.
Pi robots: motors and control
TUTORIALS Build a robot
TUTORIALS
Plan and write your next smash-hit novel
Nick Peers reveals how to develop better stories with the help of our favourite freemium app for budding novelists.
Polish your video footage with Kdenlive
Michael Reed looks at how you can use Kdenlive to produce highquality videos suitable for uploading all over the internet.
More fun with layers and masks
Karsten Günther reveals how GIMP manages layers, what the different types are and how to use masks for subtle effects.
Create better QR codes
Mike Bedford reveals how to get creative with your QR codes to draw attention to them better and help people sign up to newsletters and more.
Nifty note-taking with Obsidian
Nate Drake walks you through adopting the almighty Markdown-based note-taking app Obsidian to see whether it lives up to its legend.
Get Serenity – direct from the source
What do you get if you take a modern kernel, a classic GUI and a handful of custom apps? Michael Reed investigates SerenityOS.
CODING ACADEMY
Monitor your TCP/IP networks with eBPF
Naturally suspicious, Mihalis Tsoukalos keeps an eye on all his network traffic using eBPF – and he’ll show you how, too.
Finish your cataloguing app
With a tear in his eye, Matt Holder finishes up our cataloguing database app by adding search and export functionality.
Chat
X
Pocketmags Support