BaşlayınÜcretsiz Başlayın

Concatenation basics

You have been given a few tables of data with musical track info for different albums from the metal band, Metallica. The track info comes from their Ride The Lightning, Master Of Puppets, and St. Anger albums. Try various features of the .concat() method by concatenating the tables vertically together in different ways.

The tables tracks_master, tracks_ride, and tracks_st have loaded for you.

Bu egzersiz

Joining Data with pandas

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Concatenate the tracks
tracks_from_albums = pd.concat(____,
                               sort=True)
print(tracks_from_albums)
Kodu Düzenle ve Çalıştır