This file contains hidden or 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
| from IPython.display import HTML | |
| def view(df=None, title: str = 'DataFrame', fs: int = 12): | |
| """View Pandas DataFrame in a pop-up window/tab rendered with JavaScript and CSS code. Similar to RStudio's 'View' function. | |
| Args: | |
| df: DataFrame to view | |
| title: title of the pop-up (to help distinguish if there are multiple pop-ups) | |
| fs: font size in pixels | |
| Examples: |