Last active
August 29, 2015 14:01
-
-
Save chaliy/dab09c627ae8f291f547 to your computer and use it in GitHub Desktop.
Monkeypatch Pandas DataFrame to render tables with bootstrap styles. Still no lack with ugly black borders.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pandas as pd | |
pd.DataFrame._repr_html_ = lambda self: self.to_html(classes='table table-striped') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment