datacamp-light
datacamp-light copied to clipboard
HTML-views of Pandas DataFrames?
The current output for a pandas dataframe is the IPython rendering which is not particularly aesthetically pleasing and making some of the more interesting visualizations (color, size, bar, ...) hard to show. Is there any way of having the HTML versions show up (like in Jupyter notebooks)
How it looks now
How I would like it look
from IPython.display import HTML
import pandas as pd, numpy as np
out_df = pd.DataFrame({'hey': np.random.uniform(0,10, size = 5)})
HTML(out_df.to_html())
(from thebelab)
Currently, Datacamp can display special outputs such as plots, HTML widgets and so on. Unfortunately, it's not the case yet for html-views of Pandas Dataframes in Datacamp-light. We will consider this feature in the roadmap. Thanks for the issue.