How to Convert Python Dictionary into Pandas DataFrame

preview_player
Показать описание
Python pandas tutorial for beginners on how to convert dictionary into python dataframe.

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

need help with this question
Sales Analysis:

"simple analysis" of Goal achievement.

We have a list of salespeople and sales values($).
a) We want to identify (print) all the salespeople that have reached the goal, what value they sold and how much over the goal.

Output examples: The seller NAME hit the goal with $VALUE in sales. It's $VALUE2 over target.
The seller Vasco hit the goal with $20000 in sales. It's $10000 over target.

"""

goal = 10000
sales = [
['Jean', 15000],
['Chloe', 27000],
['Marcus', 9900],
['Maria', 3750],
['Alex', 10300],
['Alon', 7870],
]

TylerE-A.