Pandas printing in jupyter

Rustom Mody rustompmody at gmail.com
Thu Jan 11 03:59:53 EST 2018


On Thursday, January 11, 2018 at 2:13:46 PM UTC+5:30, Paul  Moore wrote:
> The HTML representation is supplied by the object's _repr_html_
> method. See https://ipython.org/ipython-doc/3/config/integrating.html
> for some details.
> 
> >>> import pandas as pd
> >>> df = pd.DataFrame()
> >>> df._repr_html_()
> '<div>\n<style scoped>\n    .dataframe tbody tr th:only-of-type 
> etc

Thanks — Useful direction
So is there some ipython related restricted set of special (dunder-like) methods?



More information about the Python-list mailing list