Python 3 Data Type Question

Asked 2 years ago, Updated 2 years ago, 136 views

'import pandas as pd

df =

pd.read_excel('http://qrc.depaul.edu/Excel_Files/Presidents.xls')

%matplotlib inline

df['Political Party'].value_counts().plot(kind="pie")'

If you look, the df part is blank How is it defined in Python 3.4 and above??

python3.6 python3.4

2022-09-22 08:40

2 Answers

What do you mean the df part is blank?


2022-09-22 08:40

An error occurs.


2022-09-22 08:40

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.