Issue
I am running this cell in IPython Notebook:
# salaries and teams are Pandas dataframe
salaries.head()
teams.head()
The result is that I am only getting the output of teams
data-frame rather than of both salaries
and teams
. If I just run salaries.head()
I get the result for salaries
data-frame but on running both the statement I just see the output of teams.head()
. How can I correct this?
Solution
have you tried the display
command?
from IPython.display import display
display(salaries.head())
display(teams.head())
Answered By - tglaria
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.