LoslegenKostenlos loslegen

Filtering data by row with csvkit

Now it's time get some hands-on practice for filtering data by exact row values using -m. Whether it's text or numeric, csvgrep can help us filter by these values.

Diese Übung ist Teil des Kurses

Data Processing in Shell

Kurs anzeigen

Interaktive Übung

Vervollständige den Beispielcode, um diese Übung erfolgreich abzuschließen.

# Print a list of column headers in the data 
csvcut -n Spotify_MusicAttributes.csv

# Filter for row(s) where track_id = 118GQ70Sp6pMqn6w1oKuki
___ -c "track_id" -m ___ Spotify_MusicAttributes.csv
Code bearbeiten und ausführen