As has been pointed out by @waitingkuo, index=False is what you need. If you want to keep the nice table layout within your ipython notebook, you can use:
from IPython.display import display, HTML
display(HTML(df.to_html(index=False)))
As has been pointed out by @waitingkuo, index=False is what you need. If you want to keep the nice table layout within your ipython notebook, you can use:
from IPython.display import display, HTML
display(HTML(df.to_html(index=False)))