Show code
import pandas as pd
import numpy as np
import os
import sys
sys.path.append("../python")
import general
import visualizations
import simpsonfrom IPython.display import HTML
HTML('''<script>
code_show=true;
function code_toggle() {
if (code_show){
$('div.input').hide();
} else {
$('div.input').show();
}
code_show = !code_show
}
$( document ).ready(code_toggle);
</script>
<form action="javascript:code_toggle()"><input type="submit" value="Click here to toggle on/off the raw code."></form>''')| region | leads | met_their_needs | |
|---|---|---|---|
| 0 | North | 2 | 2 |
| 1 | East | 20 | 16 |
| 2 | South | 200 | 140 |
| 3 | West | 2000 | 1200 |