Help : Rendering issue with Jupyter notebook in Github

Hello All,

I am facing an issue in terms of rendering table or dataframe for a project done in Jupyter after I upload the same in github. Everything is working fine in the Jupyter notebook in my local system.

The expected view is as below (as seen in the Jupyter notebook in my local sytem) :
image

But after uploading it in guthub I am getting the below view:

The issue exists in all the tables/dataframes in the code. Even in Jupyter nbviewer they are rendered correctly.

Any suggestion or workaround to solve this issue is appreciated.

Thanks in advance.

1 Like

Hello @sreekanthac

Try to open that notebook that you want using nbviewer online, you
don’t need to install it.
open “https://nbviewer.jupyter.org/” and paste the notebook link. this is
an independent tool that may work when github doesn’t.

Try and see if this works.
Best
K!

Hey @prasadkalyan05, you are right. As I mentioned already it’s rendering properly in nbviewer. But I wanted to upload this project in Github as well.

Hey again-
I just found similar to this in the internet. Please have a look and check if it works?

Try to open that notebook that you want using nbviewer online, you don’t need to install it.

This site nbviewer works independently of github.

  • If some notebook rendered in nbviewer appears different from rendered in github, then append “?flush_cache=true” to the end of the nbviewer version url to force it to rerender.
    e.g.
    http://nbviewer.jupyter.org/github/iurisegtovich/PyTherm-applied-thermodynamics/blob/master/index.ipynb
    becomes
    http://nbviewer.jupyter.org/github/iurisegtovich/PyTherm-applied-thermodynamics/blob/master/index.ipynb?flush_cache=true

@prasadkalyan05 Yes nbviewer is an option. But as I said before, my requirement is to upload this project in my repository in Github. I have successfully uploaded it, but the rendering is an issue when viewed at git. I am trying to find a solution to this issue.

Hi @sreekanthac Were you able to resolve this issue with Github rendering DF table format ? I too have run into this and wanted to check if you found a fix…thanks a bunch!

@DnaData, I was not able to resolve this with Github. I had to use jupyter nbviewer which renders data properly. But on Github I still have the issue.

1 Like