Notebook: Pandas DataFrame not printing correctly

Created on 21 Jan 2019  路  7Comments  路  Source: jupyter/notebook

jupyter

The data in the last row and 6th column of the image, should be it's own row.

Is it a problem with github or my personal environment?

My Pipfile contents...
[[source]]
url = "https://pypi.org/simple"
verify_ssl = true
name = "pypi"

[packages]
pandas = ""
numpy = "
"
matplotlib = ""
seaborn = "
"
notebook = ""
qgrid = "
"
tabulate = "*"

[dev-packages]

[requires]
python_version = "3.6"

Most helpful comment

No problem - good luck!

ps: in some of my repos I simple put the links to the nbviewer-website (e.g. see readme in https://github.com/aakhmetz/DiphtheriaRohingya2017)

All 7 comments

@eila-elyas, you can check with nbviewer in order to roll out the option with github

@eila-elyas, you can check with nbviewer in order to roll out the option with github

Hey what do you mean by that? I also have a similar issue with my pandas DataFrame not displaying correctly when I use the df.head() method as below:
Screenshot 2019-12-11 at 02 58 42

@WeyinmiA I meant that you can view your github page by nbviewer, and check if the issue was related to github or to your personal environment.

@aakhmetz Hey thanks for the speedy response, I just did that and it worked exactly like how I expected it to on nbviewer, so does that mean it's an issue with Github? If so how can that be resolved?

I am not a developer of github, but I had an impression that making things displayed properly in jupyter notebooks shown directly on github is not among their priorities. I assume you may try to use nbviewer if possible.

Ahhh I see, thanks for the feedback!

No problem - good luck!

ps: in some of my repos I simple put the links to the nbviewer-website (e.g. see readme in https://github.com/aakhmetz/DiphtheriaRohingya2017)

Was this page helpful?
0 / 5 - 0 ratings