chris1610 / pbpython

Code, Notebooks and Examples from Practical Business Python
https://pbpython.com
BSD 3-Clause "New" or "Revised" License
1.99k stars 987 forks source link

Table on pd.DataFrame from List and Dictionaries is wrong #28

Open Michael-E-Rose opened 3 years ago

Michael-E-Rose commented 3 years ago

The figure https://pbpython.com/images/pandas-dataframe-shadow.png, being in use on https://pbpython.com/pandas-list-dict.html, has a mistake in the upper right corner.

The sales list should be

 [("Jones LLC", 150, 200, 140),
  ("Alpha Co", 200, 210, 215),
  ("Blue Inc", "140, 215, 95)]

I'm happy to recreate the figure if you tell me where I find it.