Last active
April 3, 2020 15:16
-
-
Save himat/1c1192a07f9b3aa96bafdaded329c146 to your computer and use it in GitHub Desktop.
[ipynb useful first cell lines] Useful commands to put in the top cells of an ipython notebook #python #notebook
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
| %reload_ext autoreload | |
| %autoreload 2 | |
| import os, sys | |
| import pathlib | |
| import numpy as np | |
| import pandas as pd | |
| import matplotlib.pyplot as plt | |
| %matplotlib inline |
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
| %%html | |
| <style> | |
| #notebook-container { | |
| width: 90%; | |
| background-color: #EEE | |
| } | |
| .code_cell { | |
| flex-direction: row !important; | |
| } | |
| .code_cell .output_wrapper { | |
| width: 50%; | |
| background-color: #FFF | |
| } | |
| .code_cell .input { | |
| width: 50%; | |
| background-color: #FFF | |
| } | |
| </style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment