Pandas cheat sheet

This notebook has a bunch of useful reminders for how to work with Pandas.


In [ ]:
# Loading the data

%matplotlib inline

# makes plots look nicer
from IPython.display import set_matplotlib_formats
set_matplotlib_formats('pdf', 'svg')

# actually imports matplotlib
import matplotlib.pyplot as plt

# imports pandas
import pandas

# creates a data frame called flint_data
flint_data = pandas.read_json("""[{"SampleID":1,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":0.344,"Pb Bottle 2 (ppb) - 45 secs flushing":0.226,"Pb Bottle 3 (ppb) - 2 mins flushing":0.145},{"SampleID":2,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":8.133,"Pb Bottle 2 (ppb) - 45 secs flushing":10.77,"Pb Bottle 3 (ppb) - 2 mins flushing":2.761},{"SampleID":4,"Zip Code":48504,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":1.111,"Pb Bottle 2 (ppb) - 45 secs flushing":0.11,"Pb Bottle 3 (ppb) - 2 mins flushing":0.123},{"SampleID":5,"Zip Code":48507,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":8.007,"Pb Bottle 2 (ppb) - 45 secs flushing":7.446,"Pb Bottle 3 (ppb) - 2 mins flushing":3.384},{"SampleID":6,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":1.951,"Pb Bottle 2 (ppb) - 45 secs flushing":0.048,"Pb Bottle 3 (ppb) - 2 mins flushing":0.035},{"SampleID":7,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":7.2,"Pb Bottle 2 (ppb) - 45 secs flushing":1.4,"Pb Bottle 3 (ppb) - 2 mins flushing":0.2},{"SampleID":8,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":40.63,"Pb Bottle 2 (ppb) - 45 secs flushing":9.726,"Pb Bottle 3 (ppb) - 2 mins flushing":6.132},{"SampleID":9,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":1.1,"Pb Bottle 2 (ppb) - 45 secs flushing":2.5,"Pb Bottle 3 (ppb) - 2 mins flushing":0.1},{"SampleID":12,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":10.6,"Pb Bottle 2 (ppb) - 45 secs flushing":1.038,"Pb Bottle 3 (ppb) - 2 mins flushing":1.294},{"SampleID":13,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":6.2,"Pb Bottle 2 (ppb) - 45 secs flushing":4.2,"Pb Bottle 3 (ppb) - 2 mins flushing":2.3},{"SampleID":15,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":4.358,"Pb Bottle 2 (ppb) - 45 secs flushing":0.822,"Pb Bottle 3 (ppb) - 2 mins flushing":0.147},{"SampleID":16,"Zip Code":48505,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":24.37,"Pb Bottle 2 (ppb) - 45 secs flushing":8.796,"Pb Bottle 3 (ppb) - 2 mins flushing":4.347},{"SampleID":17,"Zip Code":48505,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":6.609,"Pb Bottle 2 (ppb) - 45 secs flushing":5.752,"Pb Bottle 3 (ppb) - 2 mins flushing":1.433},{"SampleID":18,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":4.062,"Pb Bottle 2 (ppb) - 45 secs flushing":1.099,"Pb Bottle 3 (ppb) - 2 mins flushing":1.085},{"SampleID":19,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":2.484,"Pb Bottle 2 (ppb) - 45 secs flushing":0.72,"Pb Bottle 3 (ppb) - 2 mins flushing":0.565},{"SampleID":20,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":0.438,"Pb Bottle 2 (ppb) - 45 secs flushing":1.046,"Pb Bottle 3 (ppb) - 2 mins flushing":0.511},{"SampleID":21,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":1.29,"Pb Bottle 2 (ppb) - 45 secs flushing":0.243,"Pb Bottle 3 (ppb) - 2 mins flushing":0.225},{"SampleID":22,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":0.548,"Pb Bottle 2 (ppb) - 45 secs flushing":0.622,"Pb Bottle 3 (ppb) - 2 mins flushing":0.361},{"SampleID":23,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":3.131,"Pb Bottle 2 (ppb) - 45 secs flushing":0.674,"Pb Bottle 3 (ppb) - 2 mins flushing":0.683},{"SampleID":24,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":120,"Pb Bottle 2 (ppb) - 45 secs flushing":239.7,"Pb Bottle 3 (ppb) - 2 mins flushing":29.71},{"SampleID":25,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":2.911,"Pb Bottle 2 (ppb) - 45 secs flushing":0.406,"Pb Bottle 3 (ppb) - 2 mins flushing":0.237},{"SampleID":26,"Zip Code":48505,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":16.52,"Pb Bottle 2 (ppb) - 45 secs flushing":10.26,"Pb Bottle 3 (ppb) - 2 mins flushing":2.762},{"SampleID":27,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":1.984,"Pb Bottle 2 (ppb) - 45 secs flushing":1.13,"Pb Bottle 3 (ppb) - 2 mins flushing":0.712},{"SampleID":28,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":5.367,"Pb Bottle 2 (ppb) - 45 secs flushing":2.474,"Pb Bottle 3 (ppb) - 2 mins flushing":1.616},{"SampleID":29,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":5.5,"Pb Bottle 2 (ppb) - 45 secs flushing":8.4,"Pb Bottle 3 (ppb) - 2 mins flushing":2.4},{"SampleID":30,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":0.639,"Pb Bottle 2 (ppb) - 45 secs flushing":0.223,"Pb Bottle 3 (ppb) - 2 mins flushing":0.194},{"SampleID":31,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":6.087,"Pb Bottle 2 (ppb) - 45 secs flushing":28.87,"Pb Bottle 3 (ppb) - 2 mins flushing":2.13,"Notes":"*house sampled twice"},{"SampleID":31,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":10.32,"Pb Bottle 2 (ppb) - 45 secs flushing":13.47,"Pb Bottle 3 (ppb) - 2 mins flushing":18.19,"Notes":"*house sampled twice"},{"SampleID":33,"Zip Code":48503,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":66.88,"Pb Bottle 2 (ppb) - 45 secs flushing":2.662,"Pb Bottle 3 (ppb) - 2 mins flushing":2.082},{"SampleID":34,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":20.41,"Pb Bottle 2 (ppb) - 45 secs flushing":3.543,"Pb Bottle 3 (ppb) - 2 mins flushing":2.344},{"SampleID":35,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":109.6,"Pb Bottle 2 (ppb) - 45 secs flushing":80.47,"Pb Bottle 3 (ppb) - 2 mins flushing":94.52},{"SampleID":36,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":5.06,"Pb Bottle 2 (ppb) - 45 secs flushing":3.406,"Pb Bottle 3 (ppb) - 2 mins flushing":4.088},{"SampleID":37,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":2.774,"Pb Bottle 2 (ppb) - 45 secs flushing":0.21,"Pb Bottle 3 (ppb) - 2 mins flushing":0.264},{"SampleID":38,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":4.453,"Pb Bottle 2 (ppb) - 45 secs flushing":3.679,"Pb Bottle 3 (ppb) - 2 mins flushing":3.523},{"SampleID":39,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":0.4,"Pb Bottle 2 (ppb) - 45 secs flushing":0.3,"Pb Bottle 3 (ppb) - 2 mins flushing":0.7},{"SampleID":40,"Zip Code":48529,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":0.974,"Pb Bottle 2 (ppb) - 45 secs flushing":0.142,"Pb Bottle 3 (ppb) - 2 mins flushing":0.118},{"SampleID":41,"Zip Code":48505,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":3.228,"Pb Bottle 2 (ppb) - 45 secs flushing":2.534,"Pb Bottle 3 (ppb) - 2 mins flushing":2.222},{"SampleID":42,"Zip Code":48505,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":12.55,"Pb Bottle 2 (ppb) - 45 secs flushing":4.132,"Pb Bottle 3 (ppb) - 2 mins flushing":0.12},{"SampleID":43,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":0.501,"Pb Bottle 2 (ppb) - 45 secs flushing":0.156,"Pb Bottle 3 (ppb) - 2 mins flushing":15.14},{"SampleID":44,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":2.448,"Pb Bottle 2 (ppb) - 45 secs flushing":0.373,"Pb Bottle 3 (ppb) - 2 mins flushing":0.288},{"SampleID":45,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":5.508,"Pb Bottle 2 (ppb) - 45 secs flushing":5.157,"Pb Bottle 3 (ppb) - 2 mins flushing":2.621},{"SampleID":46,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":1.293,"Pb Bottle 2 (ppb) - 45 secs flushing":0.441,"Pb Bottle 3 (ppb) - 2 mins flushing":0.281},{"SampleID":47,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":4.699,"Pb Bottle 2 (ppb) - 45 secs flushing":1.395,"Pb Bottle 3 (ppb) - 2 mins flushing":0.329},{"SampleID":48,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":6.093,"Pb Bottle 2 (ppb) - 45 secs flushing":2.682,"Pb Bottle 3 (ppb) - 2 mins flushing":1.458},{"SampleID":49,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":0.8,"Pb Bottle 2 (ppb) - 45 secs flushing":0.8,"Pb Bottle 3 (ppb) - 2 mins flushing":0.5},{"SampleID":50,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":1.626,"Pb Bottle 2 (ppb) - 45 secs flushing":1.332,"Pb Bottle 3 (ppb) - 2 mins flushing":0.327},{"SampleID":51,"Zip Code":48507,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":2.576,"Pb Bottle 2 (ppb) - 45 secs flushing":2.852,"Pb Bottle 3 (ppb) - 2 mins flushing":1.48},{"SampleID":52,"Zip Code":48504,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":2.362,"Pb Bottle 2 (ppb) - 45 secs flushing":0.467,"Pb Bottle 3 (ppb) - 2 mins flushing":0.339},{"SampleID":53,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":1.585,"Pb Bottle 2 (ppb) - 45 secs flushing":0.494,"Pb Bottle 3 (ppb) - 2 mins flushing":1.232},{"SampleID":54,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":3.058,"Pb Bottle 2 (ppb) - 45 secs flushing":1.808,"Pb Bottle 3 (ppb) - 2 mins flushing":1.169},{"SampleID":55,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":2.423,"Pb Bottle 2 (ppb) - 45 secs flushing":0.393,"Pb Bottle 3 (ppb) - 2 mins flushing":0.373},{"SampleID":56,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":30.91,"Pb Bottle 2 (ppb) - 45 secs flushing":42.58,"Pb Bottle 3 (ppb) - 2 mins flushing":44.6},{"SampleID":57,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":4.47,"Pb Bottle 2 (ppb) - 45 secs flushing":3.649,"Pb Bottle 3 (ppb) - 2 mins flushing":1},{"SampleID":58,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":2.172,"Pb Bottle 2 (ppb) - 45 secs flushing":1.76,"Pb Bottle 3 (ppb) - 2 mins flushing":1.44},{"SampleID":59,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":1.8,"Pb Bottle 2 (ppb) - 45 secs flushing":0.5,"Pb Bottle 3 (ppb) - 2 mins flushing":0.2},{"SampleID":63,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":0.965,"Pb Bottle 2 (ppb) - 45 secs flushing":0.166,"Pb Bottle 3 (ppb) - 2 mins flushing":0.319},{"SampleID":65,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":7.636,"Pb Bottle 2 (ppb) - 45 secs flushing":5.206,"Pb Bottle 3 (ppb) - 2 mins flushing":9.239},{"SampleID":66,"Zip Code":48506,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":3.158,"Pb Bottle 2 (ppb) - 45 secs flushing":1.948,"Pb Bottle 3 (ppb) - 2 mins flushing":2.802},{"SampleID":67,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":105.3,"Pb Bottle 2 (ppb) - 45 secs flushing":12.84,"Pb Bottle 3 (ppb) - 2 mins flushing":4.534},{"SampleID":68,"Zip Code":48506,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":4.476,"Pb Bottle 2 (ppb) - 45 secs flushing":0.355,"Pb Bottle 3 (ppb) - 2 mins flushing":0.334},{"SampleID":69,"Zip Code":48504,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":2.828,"Pb Bottle 2 (ppb) - 45 secs flushing":6.694,"Pb Bottle 3 (ppb) - 2 mins flushing":20.99},{"SampleID":71,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":2.481,"Pb Bottle 2 (ppb) - 45 secs flushing":3.86,"Pb Bottle 3 (ppb) - 2 mins flushing":24.64},{"SampleID":72,"Zip Code":48507,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":11.52,"Pb Bottle 2 (ppb) - 45 secs flushing":0.288,"Pb Bottle 3 (ppb) - 2 mins flushing":0.215},{"SampleID":73,"Zip Code":48507,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":3.784,"Pb Bottle 2 (ppb) - 45 secs flushing":0.292,"Pb Bottle 3 (ppb) - 2 mins flushing":0.258},{"SampleID":74,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":1.344,"Pb Bottle 2 (ppb) - 45 secs flushing":0.729,"Pb Bottle 3 (ppb) - 2 mins flushing":1.226},{"SampleID":75,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":11.93,"Pb Bottle 2 (ppb) - 45 secs flushing":9.645,"Pb Bottle 3 (ppb) - 2 mins flushing":3.514},{"SampleID":76,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":10.96,"Pb Bottle 2 (ppb) - 45 secs flushing":7.744,"Pb Bottle 3 (ppb) - 2 mins flushing":4.16},{"SampleID":77,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":3.341,"Pb Bottle 2 (ppb) - 45 secs flushing":0.555,"Pb Bottle 3 (ppb) - 2 mins flushing":0.917},{"SampleID":78,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":1.229,"Pb Bottle 2 (ppb) - 45 secs flushing":1.192,"Pb Bottle 3 (ppb) - 2 mins flushing":0.218},{"SampleID":79,"Zip Code":48503,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":6.3,"Pb Bottle 2 (ppb) - 45 secs flushing":1.1,"Pb Bottle 3 (ppb) - 2 mins flushing":0.3,"Notes":"*house sampled twice"},{"SampleID":79,"Zip Code":48503,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":5.153,"Pb Bottle 2 (ppb) - 45 secs flushing":0.385,"Pb Bottle 3 (ppb) - 2 mins flushing":0.322,"Notes":"*house sampled twice"},{"SampleID":80,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":6.054,"Pb Bottle 2 (ppb) - 45 secs flushing":0.927,"Pb Bottle 3 (ppb) - 2 mins flushing":0.676},{"SampleID":82,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":31.14,"Pb Bottle 2 (ppb) - 45 secs flushing":4.73,"Pb Bottle 3 (ppb) - 2 mins flushing":3.188},{"SampleID":83,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":102.7,"Pb Bottle 2 (ppb) - 45 secs flushing":9.894,"Pb Bottle 3 (ppb) - 2 mins flushing":3.133},{"SampleID":84,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":1.38,"Pb Bottle 2 (ppb) - 45 secs flushing":3.734,"Pb Bottle 3 (ppb) - 2 mins flushing":0.524},{"SampleID":85,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":1.132,"Pb Bottle 2 (ppb) - 45 secs flushing":2.17,"Pb Bottle 3 (ppb) - 2 mins flushing":0.465},{"SampleID":87,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":3.232,"Pb Bottle 2 (ppb) - 45 secs flushing":2.989,"Pb Bottle 3 (ppb) - 2 mins flushing":1.927},{"SampleID":88,"Zip Code":48532,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":0.507,"Pb Bottle 2 (ppb) - 45 secs flushing":2.315,"Pb Bottle 3 (ppb) - 2 mins flushing":0.231},{"SampleID":90,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":8.561,"Pb Bottle 2 (ppb) - 45 secs flushing":5.141,"Pb Bottle 3 (ppb) - 2 mins flushing":4.724},{"SampleID":91,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":9.997,"Pb Bottle 2 (ppb) - 45 secs flushing":0.983,"Pb Bottle 3 (ppb) - 2 mins flushing":0.611},{"SampleID":92,"Zip Code":48504,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":4.152,"Pb Bottle 2 (ppb) - 45 secs flushing":0.758,"Pb Bottle 3 (ppb) - 2 mins flushing":0.433},{"SampleID":93,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":75.82,"Pb Bottle 2 (ppb) - 45 secs flushing":11.65,"Pb Bottle 3 (ppb) - 2 mins flushing":3.942},{"SampleID":95,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":138.8,"Pb Bottle 2 (ppb) - 45 secs flushing":2.745,"Pb Bottle 3 (ppb) - 2 mins flushing":0.797},{"SampleID":96,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":0.8,"Pb Bottle 2 (ppb) - 45 secs flushing":0.2,"Pb Bottle 3 (ppb) - 2 mins flushing":0.2},{"SampleID":97,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":7.244,"Pb Bottle 2 (ppb) - 45 secs flushing":1051,"Pb Bottle 3 (ppb) - 2 mins flushing":1.328},{"SampleID":98,"Zip Code":48506,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":1.621,"Pb Bottle 2 (ppb) - 45 secs flushing":0.3,"Pb Bottle 3 (ppb) - 2 mins flushing":0.238},{"SampleID":99,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":1.032,"Pb Bottle 2 (ppb) - 45 secs flushing":0.363,"Pb Bottle 3 (ppb) - 2 mins flushing":0.216},{"SampleID":100,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":0.866,"Pb Bottle 2 (ppb) - 45 secs flushing":0.292,"Pb Bottle 3 (ppb) - 2 mins flushing":0.269},{"SampleID":101,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":2.525,"Pb Bottle 2 (ppb) - 45 secs flushing":0.59,"Pb Bottle 3 (ppb) - 2 mins flushing":0.438},{"SampleID":102,"Zip Code":48505,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":9.408,"Pb Bottle 2 (ppb) - 45 secs flushing":4.444,"Pb Bottle 3 (ppb) - 2 mins flushing":3.935},{"SampleID":103,"Zip Code":48505,"Ward":0,"Pb Bottle 1 (ppb) - First Draw":0.739,"Pb Bottle 2 (ppb) - 45 secs flushing":4.883,"Pb Bottle 3 (ppb) - 2 mins flushing":0.953},{"SampleID":104,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":0.9,"Pb Bottle 2 (ppb) - 45 secs flushing":0.2,"Pb Bottle 3 (ppb) - 2 mins flushing":0.1},{"SampleID":105,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":1.403,"Pb Bottle 2 (ppb) - 45 secs flushing":0.142,"Pb Bottle 3 (ppb) - 2 mins flushing":0.121},{"SampleID":106,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":5.655,"Pb Bottle 2 (ppb) - 45 secs flushing":5.882,"Pb Bottle 3 (ppb) - 2 mins flushing":10.66},{"SampleID":107,"Zip Code":48505,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":31.06,"Pb Bottle 2 (ppb) - 45 secs flushing":8.578,"Pb Bottle 3 (ppb) - 2 mins flushing":3.176},{"SampleID":108,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":1.469,"Pb Bottle 2 (ppb) - 45 secs flushing":0.291,"Pb Bottle 3 (ppb) - 2 mins flushing":0.25},{"SampleID":109,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":23.85,"Pb Bottle 2 (ppb) - 45 secs flushing":2.301,"Pb Bottle 3 (ppb) - 2 mins flushing":1.62},{"SampleID":110,"Zip Code":48505,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":9.766,"Pb Bottle 2 (ppb) - 45 secs flushing":11.13,"Pb Bottle 3 (ppb) - 2 mins flushing":7.144},{"SampleID":111,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":4.69,"Pb Bottle 2 (ppb) - 45 secs flushing":0.953,"Pb Bottle 3 (ppb) - 2 mins flushing":0.929},{"SampleID":112,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":4.066,"Pb Bottle 2 (ppb) - 45 secs flushing":5.894,"Pb Bottle 3 (ppb) - 2 mins flushing":4.76},{"SampleID":113,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":0.846,"Pb Bottle 2 (ppb) - 45 secs flushing":0.455,"Pb Bottle 3 (ppb) - 2 mins flushing":0.366},{"SampleID":114,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":2.054,"Pb Bottle 2 (ppb) - 45 secs flushing":3.978,"Pb Bottle 3 (ppb) - 2 mins flushing":0.355},{"SampleID":115,"Zip Code":48506,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":3.744,"Pb Bottle 2 (ppb) - 45 secs flushing":5.592,"Pb Bottle 3 (ppb) - 2 mins flushing":2.476},{"SampleID":116,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":12.9,"Pb Bottle 2 (ppb) - 45 secs flushing":2.202,"Pb Bottle 3 (ppb) - 2 mins flushing":1.667},{"SampleID":117,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":0.543,"Pb Bottle 2 (ppb) - 45 secs flushing":0.183,"Pb Bottle 3 (ppb) - 2 mins flushing":0.162},{"SampleID":118,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":6.877,"Pb Bottle 2 (ppb) - 45 secs flushing":2.984,"Pb Bottle 3 (ppb) - 2 mins flushing":2.201},{"SampleID":119,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":0.552,"Pb Bottle 2 (ppb) - 45 secs flushing":0.19,"Pb Bottle 3 (ppb) - 2 mins flushing":0.205},{"SampleID":121,"Zip Code":48506,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":59,"Pb Bottle 2 (ppb) - 45 secs flushing":2.9,"Pb Bottle 3 (ppb) - 2 mins flushing":0.5},{"SampleID":122,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":0.349,"Pb Bottle 2 (ppb) - 45 secs flushing":0.13,"Pb Bottle 3 (ppb) - 2 mins flushing":0.131},{"SampleID":123,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":4.764,"Pb Bottle 2 (ppb) - 45 secs flushing":1.388,"Pb Bottle 3 (ppb) - 2 mins flushing":1.06},{"SampleID":124,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":0.832,"Pb Bottle 2 (ppb) - 45 secs flushing":0.284,"Pb Bottle 3 (ppb) - 2 mins flushing":0.214},{"SampleID":125,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":1.224,"Pb Bottle 2 (ppb) - 45 secs flushing":0.568,"Pb Bottle 3 (ppb) - 2 mins flushing":0.465},{"SampleID":126,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":15.9,"Pb Bottle 2 (ppb) - 45 secs flushing":3.7,"Pb Bottle 3 (ppb) - 2 mins flushing":2.2},{"SampleID":127,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":5.667,"Pb Bottle 2 (ppb) - 45 secs flushing":1.405,"Pb Bottle 3 (ppb) - 2 mins flushing":0.896},{"SampleID":128,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":3.564,"Pb Bottle 2 (ppb) - 45 secs flushing":2.767,"Pb Bottle 3 (ppb) - 2 mins flushing":2.127},{"SampleID":129,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":0.475,"Pb Bottle 2 (ppb) - 45 secs flushing":0.2,"Pb Bottle 3 (ppb) - 2 mins flushing":0.268},{"SampleID":130,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":5.3,"Pb Bottle 2 (ppb) - 45 secs flushing":0.5,"Pb Bottle 3 (ppb) - 2 mins flushing":0.2},{"SampleID":131,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":1.166,"Pb Bottle 2 (ppb) - 45 secs flushing":0.736,"Pb Bottle 3 (ppb) - 2 mins flushing":0.269},{"SampleID":132,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":0.684,"Pb Bottle 2 (ppb) - 45 secs flushing":0.306,"Pb Bottle 3 (ppb) - 2 mins flushing":0.094},{"SampleID":133,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":6.347,"Pb Bottle 2 (ppb) - 45 secs flushing":1.724,"Pb Bottle 3 (ppb) - 2 mins flushing":0.678},{"SampleID":134,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":10.56,"Pb Bottle 2 (ppb) - 45 secs flushing":5.672,"Pb Bottle 3 (ppb) - 2 mins flushing":4.813},{"SampleID":135,"Zip Code":48502,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":2.273,"Pb Bottle 2 (ppb) - 45 secs flushing":2.808,"Pb Bottle 3 (ppb) - 2 mins flushing":3.048},{"SampleID":136,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":1.571,"Pb Bottle 2 (ppb) - 45 secs flushing":1.265,"Pb Bottle 3 (ppb) - 2 mins flushing":0.316},{"SampleID":137,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":5.402,"Pb Bottle 2 (ppb) - 45 secs flushing":4.196,"Pb Bottle 3 (ppb) - 2 mins flushing":1.945},{"SampleID":138,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":43.19,"Pb Bottle 2 (ppb) - 45 secs flushing":7.688,"Pb Bottle 3 (ppb) - 2 mins flushing":4.39},{"SampleID":139,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":1.492,"Pb Bottle 2 (ppb) - 45 secs flushing":1.409,"Pb Bottle 3 (ppb) - 2 mins flushing":0.378},{"SampleID":140,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":66.24,"Pb Bottle 2 (ppb) - 45 secs flushing":17.75,"Pb Bottle 3 (ppb) - 2 mins flushing":8.815},{"SampleID":141,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":1.799,"Pb Bottle 2 (ppb) - 45 secs flushing":0.032,"Pb Bottle 3 (ppb) - 2 mins flushing":0.031},{"SampleID":142,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":1.861,"Pb Bottle 2 (ppb) - 45 secs flushing":1.355,"Pb Bottle 3 (ppb) - 2 mins flushing":0.64},{"SampleID":143,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":2.672,"Pb Bottle 2 (ppb) - 45 secs flushing":2.001,"Pb Bottle 3 (ppb) - 2 mins flushing":1.094},{"SampleID":144,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":3.741,"Pb Bottle 2 (ppb) - 45 secs flushing":1.211,"Pb Bottle 3 (ppb) - 2 mins flushing":0.258},{"SampleID":145,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":1.934,"Pb Bottle 2 (ppb) - 45 secs flushing":0.374,"Pb Bottle 3 (ppb) - 2 mins flushing":0.424},{"SampleID":146,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":27.05,"Pb Bottle 2 (ppb) - 45 secs flushing":0.902,"Pb Bottle 3 (ppb) - 2 mins flushing":0.61},{"SampleID":147,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":1.174,"Pb Bottle 2 (ppb) - 45 secs flushing":0.291,"Pb Bottle 3 (ppb) - 2 mins flushing":4.055},{"SampleID":148,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":2.325,"Pb Bottle 2 (ppb) - 45 secs flushing":1.099,"Pb Bottle 3 (ppb) - 2 mins flushing":0.466},{"SampleID":149,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":1.966,"Pb Bottle 2 (ppb) - 45 secs flushing":0.253,"Pb Bottle 3 (ppb) - 2 mins flushing":0.201},{"SampleID":150,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":1.959,"Pb Bottle 2 (ppb) - 45 secs flushing":0.438,"Pb Bottle 3 (ppb) - 2 mins flushing":0.448},{"SampleID":151,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":0.823,"Pb Bottle 2 (ppb) - 45 secs flushing":1.881,"Pb Bottle 3 (ppb) - 2 mins flushing":0.412},{"SampleID":152,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":11.2,"Pb Bottle 2 (ppb) - 45 secs flushing":7.553,"Pb Bottle 3 (ppb) - 2 mins flushing":12.21},{"SampleID":153,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":5.668,"Pb Bottle 2 (ppb) - 45 secs flushing":3.341,"Pb Bottle 3 (ppb) - 2 mins flushing":3.268},{"SampleID":154,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":6.261,"Pb Bottle 2 (ppb) - 45 secs flushing":1.316,"Pb Bottle 3 (ppb) - 2 mins flushing":0.5},{"SampleID":155,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":4.797,"Pb Bottle 2 (ppb) - 45 secs flushing":1.594,"Pb Bottle 3 (ppb) - 2 mins flushing":1.264},{"SampleID":156,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":0.64,"Pb Bottle 2 (ppb) - 45 secs flushing":0.905,"Pb Bottle 3 (ppb) - 2 mins flushing":0.151},{"SampleID":158,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":8.713,"Pb Bottle 2 (ppb) - 45 secs flushing":2.799,"Pb Bottle 3 (ppb) - 2 mins flushing":50.97},{"SampleID":159,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":2.544,"Pb Bottle 2 (ppb) - 45 secs flushing":1.099,"Pb Bottle 3 (ppb) - 2 mins flushing":0.498},{"SampleID":161,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":0.41,"Pb Bottle 2 (ppb) - 45 secs flushing":0.096,"Pb Bottle 3 (ppb) - 2 mins flushing":0.116},{"SampleID":162,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":32.85,"Pb Bottle 2 (ppb) - 45 secs flushing":35.76,"Pb Bottle 3 (ppb) - 2 mins flushing":9.103},{"SampleID":163,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":12.87,"Pb Bottle 2 (ppb) - 45 secs flushing":14.87,"Pb Bottle 3 (ppb) - 2 mins flushing":6.326},{"SampleID":164,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":38.02,"Pb Bottle 2 (ppb) - 45 secs flushing":38.7,"Pb Bottle 3 (ppb) - 2 mins flushing":38.94},{"SampleID":165,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":2.435,"Pb Bottle 2 (ppb) - 45 secs flushing":8.183,"Pb Bottle 3 (ppb) - 2 mins flushing":1.296},{"SampleID":166,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":2.997,"Pb Bottle 2 (ppb) - 45 secs flushing":1.867,"Pb Bottle 3 (ppb) - 2 mins flushing":1.512},{"SampleID":167,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":11,"Pb Bottle 2 (ppb) - 45 secs flushing":10.53,"Pb Bottle 3 (ppb) - 2 mins flushing":8.688},{"SampleID":168,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":6.219,"Pb Bottle 2 (ppb) - 45 secs flushing":12.33,"Pb Bottle 3 (ppb) - 2 mins flushing":4.202},{"SampleID":169,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":8.8,"Pb Bottle 2 (ppb) - 45 secs flushing":3.1,"Pb Bottle 3 (ppb) - 2 mins flushing":4.5},{"SampleID":170,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":8.071,"Pb Bottle 2 (ppb) - 45 secs flushing":0.947,"Pb Bottle 3 (ppb) - 2 mins flushing":0.839},{"SampleID":171,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":3.262,"Pb Bottle 2 (ppb) - 45 secs flushing":0.453,"Pb Bottle 3 (ppb) - 2 mins flushing":0.252},{"SampleID":172,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":2.267,"Pb Bottle 2 (ppb) - 45 secs flushing":0.541,"Pb Bottle 3 (ppb) - 2 mins flushing":0.391},{"SampleID":173,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":0.922,"Pb Bottle 2 (ppb) - 45 secs flushing":0.878,"Pb Bottle 3 (ppb) - 2 mins flushing":0.491},{"SampleID":174,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":27.02,"Pb Bottle 2 (ppb) - 45 secs flushing":31.25,"Pb Bottle 3 (ppb) - 2 mins flushing":11.37},{"SampleID":176,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":0.906,"Pb Bottle 2 (ppb) - 45 secs flushing":0.961,"Pb Bottle 3 (ppb) - 2 mins flushing":1.052},{"SampleID":177,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":2.85,"Pb Bottle 2 (ppb) - 45 secs flushing":6.862,"Pb Bottle 3 (ppb) - 2 mins flushing":0.951},{"SampleID":178,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":1.852,"Pb Bottle 2 (ppb) - 45 secs flushing":0.472,"Pb Bottle 3 (ppb) - 2 mins flushing":0.422},{"SampleID":179,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":5.35,"Pb Bottle 2 (ppb) - 45 secs flushing":1.328,"Pb Bottle 3 (ppb) - 2 mins flushing":0.595},{"SampleID":180,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":25.21,"Pb Bottle 2 (ppb) - 45 secs flushing":4.337,"Pb Bottle 3 (ppb) - 2 mins flushing":1.019},{"SampleID":182,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":15.55,"Pb Bottle 2 (ppb) - 45 secs flushing":3.962,"Pb Bottle 3 (ppb) - 2 mins flushing":1.861},{"SampleID":183,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":0.793,"Pb Bottle 2 (ppb) - 45 secs flushing":0.533,"Pb Bottle 3 (ppb) - 2 mins flushing":0.391},{"SampleID":184,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":5.068,"Pb Bottle 2 (ppb) - 45 secs flushing":0.683,"Pb Bottle 3 (ppb) - 2 mins flushing":0.489},{"SampleID":185,"Zip Code":48507,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":26.64,"Pb Bottle 2 (ppb) - 45 secs flushing":8.878,"Pb Bottle 3 (ppb) - 2 mins flushing":6.619},{"SampleID":186,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":1.867,"Pb Bottle 2 (ppb) - 45 secs flushing":0.165,"Pb Bottle 3 (ppb) - 2 mins flushing":0.175},{"SampleID":189,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":19.16,"Pb Bottle 2 (ppb) - 45 secs flushing":12.54,"Pb Bottle 3 (ppb) - 2 mins flushing":7.719},{"SampleID":191,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":28.7,"Pb Bottle 2 (ppb) - 45 secs flushing":12.7,"Pb Bottle 3 (ppb) - 2 mins flushing":8.6},{"SampleID":192,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":20.22,"Pb Bottle 2 (ppb) - 45 secs flushing":8.908,"Pb Bottle 3 (ppb) - 2 mins flushing":6.677},{"SampleID":193,"Zip Code":48507,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":2.9,"Pb Bottle 2 (ppb) - 45 secs flushing":0.6,"Pb Bottle 3 (ppb) - 2 mins flushing":0.7},{"SampleID":194,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":18.86,"Pb Bottle 2 (ppb) - 45 secs flushing":5.051,"Pb Bottle 3 (ppb) - 2 mins flushing":2.548},{"SampleID":195,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":2.816,"Pb Bottle 2 (ppb) - 45 secs flushing":0.324,"Pb Bottle 3 (ppb) - 2 mins flushing":0.362},{"SampleID":196,"Zip Code":48506,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":118.4,"Pb Bottle 2 (ppb) - 45 secs flushing":40.78,"Pb Bottle 3 (ppb) - 2 mins flushing":39.99},{"SampleID":197,"Zip Code":48506,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":27.45,"Pb Bottle 2 (ppb) - 45 secs flushing":0.939,"Pb Bottle 3 (ppb) - 2 mins flushing":0.533},{"SampleID":198,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":1.2,"Pb Bottle 2 (ppb) - 45 secs flushing":0.1,"Pb Bottle 3 (ppb) - 2 mins flushing":0.1},{"SampleID":200,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":4.681,"Pb Bottle 2 (ppb) - 45 secs flushing":0.755,"Pb Bottle 3 (ppb) - 2 mins flushing":0.456},{"SampleID":201,"Zip Code":48506,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":11.57,"Pb Bottle 2 (ppb) - 45 secs flushing":6.08,"Pb Bottle 3 (ppb) - 2 mins flushing":1.782},{"SampleID":202,"Zip Code":48532,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":6.557,"Pb Bottle 2 (ppb) - 45 secs flushing":0.289,"Pb Bottle 3 (ppb) - 2 mins flushing":0.371},{"SampleID":203,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":3.4,"Pb Bottle 2 (ppb) - 45 secs flushing":9.6,"Pb Bottle 3 (ppb) - 2 mins flushing":1.7},{"SampleID":204,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":0.7,"Pb Bottle 2 (ppb) - 45 secs flushing":0.2,"Pb Bottle 3 (ppb) - 2 mins flushing":0.2},{"SampleID":205,"Zip Code":48507,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":158,"Pb Bottle 2 (ppb) - 45 secs flushing":90.83,"Pb Bottle 3 (ppb) - 2 mins flushing":91.69},{"SampleID":206,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":0.977,"Pb Bottle 2 (ppb) - 45 secs flushing":0.47,"Pb Bottle 3 (ppb) - 2 mins flushing":0.381},{"SampleID":207,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":8.471,"Pb Bottle 2 (ppb) - 45 secs flushing":4.692,"Pb Bottle 3 (ppb) - 2 mins flushing":1.48},{"SampleID":208,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":11.47,"Pb Bottle 2 (ppb) - 45 secs flushing":23.15,"Pb Bottle 3 (ppb) - 2 mins flushing":7.129},{"SampleID":209,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":5.228,"Pb Bottle 2 (ppb) - 45 secs flushing":2.477,"Pb Bottle 3 (ppb) - 2 mins flushing":1.014},{"SampleID":210,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":0.956,"Pb Bottle 2 (ppb) - 45 secs flushing":0.196,"Pb Bottle 3 (ppb) - 2 mins flushing":0.157},{"SampleID":211,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":1.671,"Pb Bottle 2 (ppb) - 45 secs flushing":0.405,"Pb Bottle 3 (ppb) - 2 mins flushing":4.721},{"SampleID":212,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":1.152,"Pb Bottle 2 (ppb) - 45 secs flushing":0.708,"Pb Bottle 3 (ppb) - 2 mins flushing":0.282},{"SampleID":213,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":0.5,"Pb Bottle 2 (ppb) - 45 secs flushing":0.1,"Pb Bottle 3 (ppb) - 2 mins flushing":0.1},{"SampleID":214,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":10.74,"Pb Bottle 2 (ppb) - 45 secs flushing":2.331,"Pb Bottle 3 (ppb) - 2 mins flushing":1.628},{"SampleID":215,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":3.9,"Pb Bottle 2 (ppb) - 45 secs flushing":0.4,"Pb Bottle 3 (ppb) - 2 mins flushing":0.2},{"SampleID":216,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":2.149,"Pb Bottle 2 (ppb) - 45 secs flushing":0.368,"Pb Bottle 3 (ppb) - 2 mins flushing":0.333},{"SampleID":217,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":1.1,"Pb Bottle 2 (ppb) - 45 secs flushing":0.4,"Pb Bottle 3 (ppb) - 2 mins flushing":0.2},{"SampleID":218,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":7.087,"Pb Bottle 2 (ppb) - 45 secs flushing":9.467,"Pb Bottle 3 (ppb) - 2 mins flushing":1.28},{"SampleID":219,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":1.329,"Pb Bottle 2 (ppb) - 45 secs flushing":0.609,"Pb Bottle 3 (ppb) - 2 mins flushing":0.527},{"SampleID":220,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":6.2,"Pb Bottle 2 (ppb) - 45 secs flushing":0.7,"Pb Bottle 3 (ppb) - 2 mins flushing":0.6},{"SampleID":221,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":0.8,"Pb Bottle 2 (ppb) - 45 secs flushing":0.26,"Pb Bottle 3 (ppb) - 2 mins flushing":0.255},{"SampleID":222,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":9.3,"Pb Bottle 2 (ppb) - 45 secs flushing":9.7,"Pb Bottle 3 (ppb) - 2 mins flushing":5},{"SampleID":223,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":2.1,"Pb Bottle 2 (ppb) - 45 secs flushing":1.2,"Pb Bottle 3 (ppb) - 2 mins flushing":0.5},{"SampleID":224,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":4.563,"Pb Bottle 2 (ppb) - 45 secs flushing":3.106,"Pb Bottle 3 (ppb) - 2 mins flushing":2.997},{"SampleID":225,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":4.808,"Pb Bottle 2 (ppb) - 45 secs flushing":6.196,"Pb Bottle 3 (ppb) - 2 mins flushing":1.523},{"SampleID":226,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":0.753,"Pb Bottle 2 (ppb) - 45 secs flushing":2.526,"Pb Bottle 3 (ppb) - 2 mins flushing":0.549},{"SampleID":227,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":1.862,"Pb Bottle 2 (ppb) - 45 secs flushing":1.213,"Pb Bottle 3 (ppb) - 2 mins flushing":0.898},{"SampleID":228,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":1.183,"Pb Bottle 2 (ppb) - 45 secs flushing":0.366,"Pb Bottle 3 (ppb) - 2 mins flushing":0.201},{"SampleID":229,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":8.2,"Pb Bottle 2 (ppb) - 45 secs flushing":3.2,"Pb Bottle 3 (ppb) - 2 mins flushing":2.6},{"SampleID":230,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":3.679,"Pb Bottle 2 (ppb) - 45 secs flushing":0.498,"Pb Bottle 3 (ppb) - 2 mins flushing":0.288},{"SampleID":231,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":2.37,"Pb Bottle 2 (ppb) - 45 secs flushing":7.333,"Pb Bottle 3 (ppb) - 2 mins flushing":3.797},{"SampleID":234,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":0.828,"Pb Bottle 2 (ppb) - 45 secs flushing":1.318,"Pb Bottle 3 (ppb) - 2 mins flushing":0.233},{"SampleID":235,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":0.719,"Pb Bottle 2 (ppb) - 45 secs flushing":0.254,"Pb Bottle 3 (ppb) - 2 mins flushing":0.058},{"SampleID":236,"Zip Code":48504,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":2.822,"Pb Bottle 2 (ppb) - 45 secs flushing":1.221,"Pb Bottle 3 (ppb) - 2 mins flushing":0.258},{"SampleID":237,"Zip Code":48504,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":2.867,"Pb Bottle 2 (ppb) - 45 secs flushing":0.723,"Pb Bottle 3 (ppb) - 2 mins flushing":0.744},{"SampleID":238,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":2.332,"Pb Bottle 2 (ppb) - 45 secs flushing":3.588,"Pb Bottle 3 (ppb) - 2 mins flushing":1.221},{"SampleID":240,"Zip Code":48503,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":4.401,"Pb Bottle 2 (ppb) - 45 secs flushing":2.111,"Pb Bottle 3 (ppb) - 2 mins flushing":1.572},{"SampleID":241,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":2.708,"Pb Bottle 2 (ppb) - 45 secs flushing":2.238,"Pb Bottle 3 (ppb) - 2 mins flushing":0.809},{"SampleID":242,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":34.13,"Pb Bottle 2 (ppb) - 45 secs flushing":6.002,"Pb Bottle 3 (ppb) - 2 mins flushing":1.71},{"SampleID":243,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":5.218,"Pb Bottle 2 (ppb) - 45 secs flushing":2.614,"Pb Bottle 3 (ppb) - 2 mins flushing":0.831},{"SampleID":244,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":15.73,"Pb Bottle 2 (ppb) - 45 secs flushing":13.95,"Pb Bottle 3 (ppb) - 2 mins flushing":3.584},{"SampleID":245,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":3.045,"Pb Bottle 2 (ppb) - 45 secs flushing":2.744,"Pb Bottle 3 (ppb) - 2 mins flushing":0.299},{"SampleID":246,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":1.1,"Pb Bottle 2 (ppb) - 45 secs flushing":0.5,"Pb Bottle 3 (ppb) - 2 mins flushing":0.3},{"SampleID":247,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":1.386,"Pb Bottle 2 (ppb) - 45 secs flushing":0.288,"Pb Bottle 3 (ppb) - 2 mins flushing":0.432},{"SampleID":248,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":0.915,"Pb Bottle 2 (ppb) - 45 secs flushing":0.354,"Pb Bottle 3 (ppb) - 2 mins flushing":0.306},{"SampleID":249,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":2.145,"Pb Bottle 2 (ppb) - 45 secs flushing":0.345,"Pb Bottle 3 (ppb) - 2 mins flushing":3.738},{"SampleID":250,"Zip Code":48507,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":4.056,"Pb Bottle 2 (ppb) - 45 secs flushing":0.547,"Pb Bottle 3 (ppb) - 2 mins flushing":0.378},{"SampleID":251,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":1.668,"Pb Bottle 2 (ppb) - 45 secs flushing":1.508,"Pb Bottle 3 (ppb) - 2 mins flushing":2.72},{"SampleID":252,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":7.575,"Pb Bottle 2 (ppb) - 45 secs flushing":1.362,"Pb Bottle 3 (ppb) - 2 mins flushing":1.094},{"SampleID":253,"Zip Code":48507,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":5.59,"Pb Bottle 2 (ppb) - 45 secs flushing":4.306,"Pb Bottle 3 (ppb) - 2 mins flushing":2.019},{"SampleID":254,"Zip Code":48503,"Ward":5,"Pb Bottle 1 (ppb) - First Draw":0.708,"Pb Bottle 2 (ppb) - 45 secs flushing":0.326,"Pb Bottle 3 (ppb) - 2 mins flushing":0.303},{"SampleID":255,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":1.701,"Pb Bottle 2 (ppb) - 45 secs flushing":4.397,"Pb Bottle 3 (ppb) - 2 mins flushing":1.287},{"SampleID":256,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":1.467,"Pb Bottle 2 (ppb) - 45 secs flushing":0.149,"Pb Bottle 3 (ppb) - 2 mins flushing":0.137},{"SampleID":258,"Zip Code":48504,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":2.582,"Pb Bottle 2 (ppb) - 45 secs flushing":259.8,"Pb Bottle 3 (ppb) - 2 mins flushing":61.96},{"SampleID":259,"Zip Code":48505,"Ward":2,"Pb Bottle 1 (ppb) - First Draw":22.08,"Pb Bottle 2 (ppb) - 45 secs flushing":15.86,"Pb Bottle 3 (ppb) - 2 mins flushing":9.262},{"SampleID":260,"Zip Code":48507,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":16.51,"Pb Bottle 2 (ppb) - 45 secs flushing":2.024,"Pb Bottle 3 (ppb) - 2 mins flushing":7.068},{"SampleID":262,"Zip Code":48507,"Ward":8,"Pb Bottle 1 (ppb) - First Draw":56.26,"Pb Bottle 2 (ppb) - 45 secs flushing":4.692,"Pb Bottle 3 (ppb) - 2 mins flushing":1.243},{"SampleID":263,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":2.433,"Pb Bottle 2 (ppb) - 45 secs flushing":1.334,"Pb Bottle 3 (ppb) - 2 mins flushing":1.376},{"SampleID":264,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":0.5,"Pb Bottle 2 (ppb) - 45 secs flushing":0.2,"Pb Bottle 3 (ppb) - 2 mins flushing":0.5},{"SampleID":265,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":29.13,"Pb Bottle 2 (ppb) - 45 secs flushing":11.57,"Pb Bottle 3 (ppb) - 2 mins flushing":6.388},{"SampleID":266,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":12.3,"Pb Bottle 2 (ppb) - 45 secs flushing":0.5,"Pb Bottle 3 (ppb) - 2 mins flushing":0.4},{"SampleID":267,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":3.445,"Pb Bottle 2 (ppb) - 45 secs flushing":0.29,"Pb Bottle 3 (ppb) - 2 mins flushing":0.167},{"SampleID":268,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":16.49,"Pb Bottle 2 (ppb) - 45 secs flushing":12.83,"Pb Bottle 3 (ppb) - 2 mins flushing":9.018},{"SampleID":269,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":3.365,"Pb Bottle 2 (ppb) - 45 secs flushing":2.45,"Pb Bottle 3 (ppb) - 2 mins flushing":1.675},{"SampleID":270,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":1.154,"Pb Bottle 2 (ppb) - 45 secs flushing":0.176,"Pb Bottle 3 (ppb) - 2 mins flushing":0.12},{"SampleID":271,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":13.53,"Pb Bottle 2 (ppb) - 45 secs flushing":21.91,"Pb Bottle 3 (ppb) - 2 mins flushing":4.675},{"SampleID":272,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":2.229,"Pb Bottle 2 (ppb) - 45 secs flushing":1.573,"Pb Bottle 3 (ppb) - 2 mins flushing":0.84},{"SampleID":273,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":28.91,"Pb Bottle 2 (ppb) - 45 secs flushing":5.471,"Pb Bottle 3 (ppb) - 2 mins flushing":3.056},{"SampleID":274,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":6.601,"Pb Bottle 2 (ppb) - 45 secs flushing":1.929,"Pb Bottle 3 (ppb) - 2 mins flushing":0.417},{"SampleID":275,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":0.948,"Pb Bottle 2 (ppb) - 45 secs flushing":0.27,"Pb Bottle 3 (ppb) - 2 mins flushing":0.207},{"SampleID":276,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":3.484,"Pb Bottle 2 (ppb) - 45 secs flushing":0.434,"Pb Bottle 3 (ppb) - 2 mins flushing":0.306},{"SampleID":278,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":1.888,"Pb Bottle 2 (ppb) - 45 secs flushing":0.359,"Pb Bottle 3 (ppb) - 2 mins flushing":0.322},{"SampleID":279,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":13.95,"Pb Bottle 2 (ppb) - 45 secs flushing":12.2,"Pb Bottle 3 (ppb) - 2 mins flushing":8.251},{"SampleID":280,"Zip Code":48504,"Ward":6,"Pb Bottle 1 (ppb) - First Draw":6.27,"Pb Bottle 2 (ppb) - 45 secs flushing":4.036,"Pb Bottle 3 (ppb) - 2 mins flushing":1.182},{"SampleID":281,"Zip Code":48506,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":19.12,"Pb Bottle 2 (ppb) - 45 secs flushing":22.02,"Pb Bottle 3 (ppb) - 2 mins flushing":7.968},{"SampleID":282,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":1.633,"Pb Bottle 2 (ppb) - 45 secs flushing":0.465,"Pb Bottle 3 (ppb) - 2 mins flushing":0.238},{"SampleID":283,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":1.114,"Pb Bottle 2 (ppb) - 45 secs flushing":0.605,"Pb Bottle 3 (ppb) - 2 mins flushing":0.255},{"SampleID":284,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":3.9,"Pb Bottle 2 (ppb) - 45 secs flushing":0.558,"Pb Bottle 3 (ppb) - 2 mins flushing":0.504},{"SampleID":285,"Zip Code":48504,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":3.521,"Pb Bottle 2 (ppb) - 45 secs flushing":0.45,"Pb Bottle 3 (ppb) - 2 mins flushing":0.321},{"SampleID":286,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":3.832,"Pb Bottle 2 (ppb) - 45 secs flushing":0.794,"Pb Bottle 3 (ppb) - 2 mins flushing":0.339},{"SampleID":287,"Zip Code":48505,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":3.243,"Pb Bottle 2 (ppb) - 45 secs flushing":0.738,"Pb Bottle 3 (ppb) - 2 mins flushing":0.27},{"SampleID":289,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":0.99,"Pb Bottle 2 (ppb) - 45 secs flushing":0.25,"Pb Bottle 3 (ppb) - 2 mins flushing":0.263},{"SampleID":290,"Zip Code":48507,"Ward":9,"Pb Bottle 1 (ppb) - First Draw":1.203,"Pb Bottle 2 (ppb) - 45 secs flushing":19.26,"Pb Bottle 3 (ppb) - 2 mins flushing":1.626},{"SampleID":291,"Zip Code":48506,"Ward":3,"Pb Bottle 1 (ppb) - First Draw":2.261,"Pb Bottle 2 (ppb) - 45 secs flushing":0.102,"Pb Bottle 3 (ppb) - 2 mins flushing":0.407},{"SampleID":292,"Zip Code":48503,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":16.99,"Pb Bottle 2 (ppb) - 45 secs flushing":6.32,"Pb Bottle 3 (ppb) - 2 mins flushing":3.585},{"SampleID":293,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":3.322,"Pb Bottle 2 (ppb) - 45 secs flushing":2.559,"Pb Bottle 3 (ppb) - 2 mins flushing":1.512},{"SampleID":294,"Zip Code":48506,"Ward":4,"Pb Bottle 1 (ppb) - First Draw":14.33,"Pb Bottle 2 (ppb) - 45 secs flushing":1.284,"Pb Bottle 3 (ppb) - 2 mins flushing":0.323},{"SampleID":295,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":18.11,"Pb Bottle 2 (ppb) - 45 secs flushing":20.21,"Pb Bottle 3 (ppb) - 2 mins flushing":4.263},{"SampleID":296,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":12.81,"Pb Bottle 2 (ppb) - 45 secs flushing":7.874,"Pb Bottle 3 (ppb) - 2 mins flushing":1.78},{"SampleID":298,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":1.083,"Pb Bottle 2 (ppb) - 45 secs flushing":0.322,"Pb Bottle 3 (ppb) - 2 mins flushing":0.26},{"SampleID":299,"Zip Code":48503,"Ward":7,"Pb Bottle 1 (ppb) - First Draw":29.59,"Pb Bottle 2 (ppb) - 45 secs flushing":3.258,"Pb Bottle 3 (ppb) - 2 mins flushing":1.843},{"SampleID":300,"Zip Code":48505,"Ward":1,"Pb Bottle 1 (ppb) - First Draw":4.287,"Pb Bottle 2 (ppb) - 45 secs flushing":4.345,"Pb Bottle 3 (ppb) - 2 mins flushing":4.905}]""")

View the first few rows of data with .head()


In [ ]:
flint_data.head()

View the last few rows of data with .tail()


In [ ]:
flint_data.tail()

See the names of the columns in a dataset


In [ ]:
flint_data.columns

Select a single column of data


In [ ]:
# combining what we know from viewing just a few values
#  with .head()
flint_data['Pb Bottle 1 (ppb) - First Draw'].head()

Select multiple columns of data


In [ ]:
# note the double set of brackets [[ ]]
flint_data[['Zip Code', 'Ward']].head()

In [ ]:
# note the double set of brackets [[ ]]
flint_data[[
    'Pb Bottle 1 (ppb) - First Draw',
    'Zip Code',
    'Ward'
]].head()

Rename a single column of data with .rename_axis()


In [ ]:
flint_data = flint_data.rename_axis(
#   {'old_name': 'new_name'},   
    {'Zip Code': 'zip_code'}, 
    axis = 'columns'
)


flint_data = flint_data.rename_axis(
    {'Pb Bottle 1 (ppb) - First Draw': 'lead_in_first_bottle'},
    axis = 'columns'
)

flint_data.head() # we changed the column names!

Filter rows based on some condition


In [ ]:
#               We'll get back a column of True/False answers
#               and the column will be as long as 'lead_in_first_bottle'
exceeds_5_ppb = flint_data['lead_in_first_bottle'] > 5

#          Now we use that column to filter the rows of our data
#          and call head to look at the first few filtered rows
flint_data[exceeds_5_ppb].head()

# This is an equivalent way to filter, but it's a longer line to type
flint_data[flint_data['lead_in_first_bottle'] > 5].head()

Create a two-variable scatterplot with .plot.scatter()


In [ ]:
flint_data.plot.scatter(
    x = 'Pb Bottle 2 (ppb) - 45 secs flushing',
    y = 'Pb Bottle 3 (ppb) - 2 mins flushing'
)

Create a histogram with of a single column with .plot.hist()


In [ ]:
# select a single column, then add .plot.hist()
flint_data['Pb Bottle 3 (ppb) - 2 mins flushing'].plot.hist()

Create a line plot using .line.plot()


In [ ]:
flint_data.plot.line(
    x = 'SampleID',
    y = 'lead_in_first_bottle'
)