Last active
October 15, 2021 10:50
-
-
Save e-io/ae533fa37ebb98a56f492cd6091762a2 to your computer and use it in GitHub Desktop.
Creation of a data frame in pandas. Name of library is derived from derived from 'Panel Data'.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
favorite_music = [ | |
['Нейромонах Феофан', 'В душе драм, в сердце светлая Русь'], | |
['НТР', 'Тыжпрограммист'], | |
['LinDi', '裂帛'], | |
['Yann Tiersen', 'Amelie'], | |
['Баста', 'ЧП'], | |
] | |
entries = ['artist', 'track'] | |
playlist = pd.DataFrame(data = favorite_music, columns = entries) | |
print(playlist) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment