Python Data Science Tutorial: PANDAS #1 Introduction, DataFrame, Series

preview_player
Показать описание
Okay Welcome again, back to Data Science, back to Python, after Numpy we are talking about the perfect package to continue: Pandas ! And no i am not referring to the cute little animal watching at you with its cute eyes and beeing shoked by its baby sneezing :D

Feel free to leave a comment, containing feedback advice and so on.

#python
#pythonprogramming
#pythontutorial
Рекомендации по теме
Комментарии
Автор

import pandas as pd

the_list = [1, 2, 3, 4, 5]
the_dict = {"index": [str(i) for i in the_list], "Name": ["Mr", "Brownstone", "has", "been", "knocking."]}

panda_series = pd.Series(the_list)
print(f"\nPanda Series: {panda_series}")

panda_data_frame = pd.DataFrame(the_dict)
print(f"\nPanda Frame: \n{panda_data_frame}")
print(f"\nTypeDescription:
print(f"\nTypeDescription:

kvelez