A "Best of the Best Practices" (BOBP) guide to developing in Python.
- "Build tools for others that you want to be built for you." - Kenneth Reitz
- "Simplicity is alway better than functionality." - Pieter Hintjens
{"lastUpload":"2018-08-14T15:01:40.370Z","extensionVersion":"v3.0.0"} |
import json | |
import uuid | |
from IPython.display import display_javascript, display_html, display | |
class RenderJSON(object): | |
def __init__(self, json_data): | |
if isinstance(json_data, dict) or isinstance(json_data, list): | |
self.json_str = json.dumps(json_data) | |
else: | |
self.json_str = json_data |
## Add this to the first block in your note book | |
import uuid | |
from IPython.core.display import display, HTML | |
import json | |
class RenderJSON(object): | |
def __init__(self, json_data): | |
if isinstance(json_data, dict): | |
self.json_str = json.dumps(json_data) |
import pandas as pd | |
import numpy as np | |
import matplotlib | |
import matplotlib.pyplot as plt | |
import seaborn as sns | |
import missingno | |
import warnings | |
warnings.filterwarnings("ignore") | |
%matplotlib inline |