Created
February 1, 2013 22:25
-
-
Save epifanio/4694585 to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"metadata": { | |
"name": "Untitled2" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"import numpy as np\n", | |
"import numpy.lib.recfunctions as recfnc\n", | |
"my_data = np.genfromtxt('http://epi.whoi.edu/esr/samples.csv', delimiter=',', names=True)\n", | |
"my_data = recfnc.append_fields(my_data, 'index', np.zeros(my_data.shape), 'int', 0, False, True)" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [], | |
"prompt_number": 1 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"data = dict((int(i),my_data[np.where(my_data['xRefStation']==508)]) for i in np.unique(my_data['xRefStation']))" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [], | |
"prompt_number": 2 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"def counter(K):\n", | |
" count = 1\n", | |
" s = 0\n", | |
" result = []\n", | |
" for v in K:\n", | |
" if s+v <= 200:\n", | |
" s += v\n", | |
" else:\n", | |
" s = 0\n", | |
" count += 1\n", | |
" result.append(count)\n", | |
" return result" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [], | |
"prompt_number": 3 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"for i, d in data.iteritems():\n", | |
" d['index'] = counter(d['Dist2Next'])" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [], | |
"prompt_number": 4 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [ | |
"data[508]" | |
], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [ | |
{ | |
"output_type": "pyout", | |
"prompt_number": 5, | |
"text": [ | |
"rec.array([(98330.0, 1280281607.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98331.0, 1280281610.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98332.0, 1280281671.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98333.0, 1280281688.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98334.0, 1280281746.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98335.0, 1280281748.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98336.0, 1280281768.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98337.0, 1280281805.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98338.0, 1280281812.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98339.0, 1280281815.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98340.0, 1280281843.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98341.0, 1280281843.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98342.0, 1280281861.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98343.0, 1280281901.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98344.0, 1280281941.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98345.0, 1280281941.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98346.0, 1280281950.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98347.0, 1280281979.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98348.0, 1280281980.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98349.0, 1280281994.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98350.0, 1280282014.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98351.0, 1280282061.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98352.0, 1280282115.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98353.0, 1280282125.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98355.0, 1280282127.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98354.0, 1280282131.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98356.0, 1280282153.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98357.0, 1280282234.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98358.0, 1280282234.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98359.0, 1280282246.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98360.0, 1280282246.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98361.0, 1280282286.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98362.0, 1280282303.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98363.0, 1280282368.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98364.0, 1280282382.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98365.0, 1280282399.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98366.0, 1280282413.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98367.0, 1280282479.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98368.0, 1280282508.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98369.0, 1280282539.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98370.0, 1280282692.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98371.0, 1280282696.0, 3.06, 508.0, 531.0, nan, 1),\n", | |
" (98372.0, 1280282700.0, 1.32, 508.0, 531.0, nan, 1),\n", | |
" (98373.0, 1280282708.0, 0.71, 508.0, 531.0, nan, 1),\n", | |
" (98374.0, 1280282738.0, 2.85, 508.0, 531.0, nan, 1),\n", | |
" (98375.0, 1280282786.0, 0.35, 508.0, 531.0, nan, 1),\n", | |
" (98376.0, 1280282789.0, 0.35, 508.0, 531.0, nan, 1),\n", | |
" (98377.0, 1280282790.0, 1.17, 508.0, 531.0, nan, 1),\n", | |
" (98378.0, 1280282790.0, 1.17, 508.0, 531.0, nan, 1),\n", | |
" (98379.0, 1280282802.0, 1.17, 508.0, 531.0, nan, 1),\n", | |
" (98380.0, 1280282802.0, 1.17, 508.0, 531.0, nan, 1),\n", | |
" (98381.0, 1280282822.0, 6.84, 508.0, 531.0, nan, 1),\n", | |
" (98382.0, 1280282873.0, 2.34, 508.0, 531.0, nan, 1),\n", | |
" (98383.0, 1280282885.0, 1.17, 508.0, 531.0, nan, 1),\n", | |
" (98384.0, 1280282890.0, 5.75, 508.0, 531.0, nan, 1),\n", | |
" (98385.0, 1280282911.0, 10.43, 508.0, 531.0, nan, 1),\n", | |
" (98386.0, 1280282948.0, 1.17, 508.0, 531.0, nan, 1),\n", | |
" (98387.0, 1280282952.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98388.0, 1280282953.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98389.0, 1280282963.0, 1.17, 508.0, 531.0, nan, 1),\n", | |
" (98390.0, 1280282965.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98391.0, 1280282968.0, 3.51, 508.0, 531.0, nan, 1),\n", | |
" (98392.0, 1280282979.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98393.0, 1280282988.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98394.0, 1280282994.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98395.0, 1280283000.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98396.0, 1280283002.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98397.0, 1280283006.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98398.0, 1280283010.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98399.0, 1280283011.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98400.0, 1280283012.0, 4.51, 508.0, 531.0, nan, 1),\n", | |
" (98401.0, 1280283024.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98402.0, 1280283028.0, 2.23, 508.0, 531.0, nan, 1),\n", | |
" (98403.0, 1280283033.0, 0.35, 508.0, 531.0, nan, 1),\n", | |
" (98404.0, 1280283036.0, 2.23, 508.0, 531.0, nan, 1),\n", | |
" (98405.0, 1280283043.0, 4.51, 508.0, 531.0, nan, 1),\n", | |
" (98406.0, 1280283053.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98407.0, 1280283054.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98409.0, 1280283059.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98408.0, 1280283064.0, 10.09, 508.0, 531.0, nan, 1),\n", | |
" (98410.0, 1280283064.0, 10.09, 508.0, 531.0, nan, 1),\n", | |
" (98411.0, 1280283094.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98412.0, 1280283099.0, 3.36, 508.0, 531.0, nan, 1),\n", | |
" (98413.0, 1280283107.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98414.0, 1280283109.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98415.0, 1280283114.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98416.0, 1280283118.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98417.0, 1280283124.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98418.0, 1280283124.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98419.0, 1280283124.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98420.0, 1280283128.0, 1.17, 508.0, 531.0, nan, 1),\n", | |
" (98421.0, 1280283133.0, 3.36, 508.0, 531.0, nan, 1),\n", | |
" (98422.0, 1280283139.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98423.0, 1280283143.0, 3.36, 508.0, 531.0, nan, 1),\n", | |
" (98424.0, 1280283152.0, 3.34, 508.0, 531.0, nan, 1),\n", | |
" (98425.0, 1280283159.0, 3.36, 508.0, 531.0, nan, 1),\n", | |
" (98426.0, 1280283171.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98427.0, 1280283178.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98428.0, 1280283179.0, 3.34, 508.0, 531.0, nan, 1),\n", | |
" (98429.0, 1280283185.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98430.0, 1280283190.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98431.0, 1280283193.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98432.0, 1280283193.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98433.0, 1280283201.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98434.0, 1280283202.0, 4.47, 508.0, 531.0, nan, 1),\n", | |
" (98435.0, 1280283209.0, 1.17, 508.0, 531.0, nan, 1),\n", | |
" (98436.0, 1280283209.0, 1.17, 508.0, 531.0, nan, 1),\n", | |
" (98437.0, 1280283215.0, 12.31, 508.0, 531.0, nan, 1),\n", | |
" (98438.0, 1280283244.0, 3.36, 508.0, 531.0, nan, 1),\n", | |
" (98439.0, 1280283257.0, 0.0, 508.0, 531.0, nan, 1),\n", | |
" (98440.0, 1280283258.0, 2.23, 508.0, 531.0, nan, 1),\n", | |
" (98441.0, 1280283261.0, 4.47, 508.0, 531.0, nan, 1),\n", | |
" (98442.0, 1280283273.0, 2.23, 508.0, 531.0, nan, 1),\n", | |
" (98443.0, 1280283278.0, 3.36, 508.0, 531.0, nan, 1),\n", | |
" (98444.0, 1280283285.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98445.0, 1280283288.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98446.0, 1280283288.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98447.0, 1280283288.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98448.0, 1280283292.0, 2.25, 508.0, 531.0, nan, 1),\n", | |
" (98449.0, 1280283300.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98450.0, 1280283304.0, 3.36, 508.0, 531.0, nan, 1),\n", | |
" (98451.0, 1280283314.0, 4.47, 508.0, 531.0, nan, 1),\n", | |
" (98452.0, 1280283320.0, 1.11, 508.0, 531.0, nan, 1),\n", | |
" (98453.0, 1280283321.0, 4.51, 508.0, 531.0, nan, 2),\n", | |
" (98454.0, 1280283337.0, 10.04, 508.0, 531.0, nan, 2),\n", | |
" (98455.0, 1280283363.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98456.0, 1280283366.0, 4.47, 508.0, 531.0, nan, 2),\n", | |
" (98457.0, 1280283376.0, 10.06, 508.0, 531.0, nan, 2),\n", | |
" (98458.0, 1280283401.0, 0.0, 508.0, 531.0, nan, 2),\n", | |
" (98459.0, 1280283402.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98460.0, 1280283402.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98461.0, 1280283404.0, 2.23, 508.0, 531.0, nan, 2),\n", | |
" (98462.0, 1280283412.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98463.0, 1280283414.0, 0.0, 508.0, 531.0, nan, 2),\n", | |
" (98464.0, 1280283416.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98465.0, 1280283418.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98466.0, 1280283422.0, 1.17, 508.0, 531.0, nan, 2),\n", | |
" (98467.0, 1280283425.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98468.0, 1280283427.0, 4.46, 508.0, 531.0, nan, 2),\n", | |
" (98469.0, 1280283434.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98470.0, 1280283439.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98471.0, 1280283444.0, 8.95, 508.0, 531.0, nan, 2),\n", | |
" (98472.0, 1280283444.0, 8.95, 508.0, 531.0, nan, 2),\n", | |
" (98474.0, 1280283464.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98473.0, 1280283464.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98475.0, 1280283470.0, 4.47, 508.0, 531.0, nan, 2),\n", | |
" (98476.0, 1280283474.0, 0.0, 508.0, 531.0, nan, 2),\n", | |
" (98477.0, 1280283476.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98478.0, 1280283481.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98479.0, 1280283485.0, 4.47, 508.0, 531.0, nan, 2),\n", | |
" (98480.0, 1280283491.0, 2.23, 508.0, 531.0, nan, 2),\n", | |
" (98483.0, 1280283494.0, 1.17, 508.0, 531.0, nan, 2),\n", | |
" (98484.0, 1280283494.0, 1.17, 508.0, 531.0, nan, 2),\n", | |
" (98481.0, 1280283494.0, 1.17, 508.0, 531.0, nan, 2),\n", | |
" (98482.0, 1280283494.0, 1.17, 508.0, 531.0, nan, 2),\n", | |
" (98485.0, 1280283498.0, 2.23, 508.0, 531.0, nan, 2),\n", | |
" (98486.0, 1280283508.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98487.0, 1280283512.0, 4.47, 508.0, 531.0, nan, 2),\n", | |
" (98488.0, 1280283523.0, 0.0, 508.0, 531.0, nan, 2),\n", | |
" (98489.0, 1280283523.0, 0.0, 508.0, 531.0, nan, 2),\n", | |
" (98490.0, 1280283525.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98491.0, 1280283527.0, 3.36, 508.0, 531.0, nan, 2),\n", | |
" (98492.0, 1280283534.0, 5.59, 508.0, 531.0, nan, 2),\n", | |
" (98493.0, 1280283545.0, 2.23, 508.0, 531.0, nan, 2),\n", | |
" (98494.0, 1280283549.0, 0.0, 508.0, 531.0, nan, 2),\n", | |
" (98495.0, 1280283549.0, 0.0, 508.0, 531.0, nan, 2),\n", | |
" (98496.0, 1280283551.0, 2.23, 508.0, 531.0, nan, 2),\n", | |
" (98497.0, 1280283555.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98498.0, 1280283555.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98499.0, 1280283557.0, 5.59, 508.0, 531.0, nan, 2),\n", | |
" (98500.0, 1280283574.0, 2.23, 508.0, 531.0, nan, 2),\n", | |
" (98501.0, 1280283581.0, 2.23, 508.0, 531.0, nan, 2),\n", | |
" (98502.0, 1280283589.0, 2.23, 508.0, 531.0, nan, 2),\n", | |
" (98503.0, 1280283594.0, 3.34, 508.0, 531.0, nan, 2),\n", | |
" (98504.0, 1280283597.0, 2.23, 508.0, 531.0, nan, 2),\n", | |
" (98505.0, 1280283605.0, 0.0, 508.0, 531.0, nan, 2),\n", | |
" (98506.0, 1280283608.0, 4.47, 508.0, 531.0, nan, 2),\n", | |
" (98507.0, 1280283615.0, 2.23, 508.0, 531.0, nan, 2),\n", | |
" (98508.0, 1280283624.0, 4.47, 508.0, 531.0, nan, 2),\n", | |
" (98509.0, 1280283630.0, 5.59, 508.0, 531.0, nan, 2),\n", | |
" (98510.0, 1280283646.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98511.0, 1280283648.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98512.0, 1280283651.0, 4.47, 508.0, 531.0, nan, 2),\n", | |
" (98513.0, 1280283662.0, 0.0, 508.0, 531.0, nan, 2),\n", | |
" (98514.0, 1280283663.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98515.0, 1280283666.0, 4.46, 508.0, 531.0, nan, 2),\n", | |
" (98516.0, 1280283672.0, 6.7, 508.0, 531.0, nan, 2),\n", | |
" (98519.0, 1280283690.0, 3.36, 508.0, 531.0, nan, 2),\n", | |
" (98517.0, 1280283690.0, 3.36, 508.0, 531.0, nan, 2),\n", | |
" (98518.0, 1280283690.0, 3.36, 508.0, 531.0, nan, 2),\n", | |
" (98520.0, 1280283698.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98521.0, 1280283705.0, 2.25, 508.0, 531.0, nan, 2),\n", | |
" (98522.0, 1280283710.0, 10.04, 508.0, 531.0, nan, 2),\n", | |
" (98523.0, 1280283735.0, 3.34, 508.0, 531.0, nan, 2),\n", | |
" (98524.0, 1280283741.0, 4.47, 508.0, 531.0, nan, 2),\n", | |
" (98525.0, 1280283749.0, 2.23, 508.0, 531.0, nan, 2),\n", | |
" (98526.0, 1280283755.0, 1.17, 508.0, 531.0, nan, 2),\n", | |
" (98527.0, 1280283757.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98528.0, 1280283763.0, 1.11, 508.0, 531.0, nan, 2),\n", | |
" (98529.0, 1280283767.0, 6.7, 508.0, 531.0, nan, 3),\n", | |
" (98530.0, 1280283782.0, 5.59, 508.0, 531.0, nan, 3),\n", | |
" (98531.0, 1280283796.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98532.0, 1280283800.0, 4.46, 508.0, 531.0, nan, 3),\n", | |
" (98533.0, 1280283812.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98534.0, 1280283815.0, 0.0, 508.0, 531.0, nan, 3),\n", | |
" (98535.0, 1280283816.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98536.0, 1280283823.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98537.0, 1280283826.0, 3.36, 508.0, 531.0, nan, 3),\n", | |
" (98538.0, 1280283830.0, 4.46, 508.0, 531.0, nan, 3),\n", | |
" (98539.0, 1280283841.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98540.0, 1280283844.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98541.0, 1280283850.0, 6.7, 508.0, 531.0, nan, 3),\n", | |
" (98542.0, 1280283865.0, 0.0, 508.0, 531.0, nan, 3),\n", | |
" (98543.0, 1280283868.0, 4.47, 508.0, 531.0, nan, 3),\n", | |
" (98544.0, 1280283876.0, 3.34, 508.0, 531.0, nan, 3),\n", | |
" (98545.0, 1280283876.0, 3.34, 508.0, 531.0, nan, 3),\n", | |
" (98546.0, 1280283876.0, 3.34, 508.0, 531.0, nan, 3),\n", | |
" (98547.0, 1280283881.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98548.0, 1280283885.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98549.0, 1280283889.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98550.0, 1280283892.0, 0.0, 508.0, 531.0, nan, 3),\n", | |
" (98551.0, 1280283892.0, 0.0, 508.0, 531.0, nan, 3),\n", | |
" (98552.0, 1280283894.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98553.0, 1280283896.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98554.0, 1280283898.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98557.0, 1280283906.0, 5.59, 508.0, 531.0, nan, 3),\n", | |
" (98555.0, 1280283906.0, 5.59, 508.0, 531.0, nan, 3),\n", | |
" (98556.0, 1280283906.0, 5.59, 508.0, 531.0, nan, 3),\n", | |
" (98558.0, 1280283916.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98559.0, 1280283916.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98560.0, 1280283921.0, 2.25, 508.0, 531.0, nan, 3),\n", | |
" (98561.0, 1280283928.0, 3.34, 508.0, 531.0, nan, 3),\n", | |
" (98562.0, 1280283936.0, 3.36, 508.0, 531.0, nan, 3),\n", | |
" (98563.0, 1280283936.0, 3.36, 508.0, 531.0, nan, 3),\n", | |
" (98564.0, 1280283943.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98565.0, 1280283946.0, 3.36, 508.0, 531.0, nan, 3),\n", | |
" (98566.0, 1280283953.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98567.0, 1280283957.0, 3.36, 508.0, 531.0, nan, 3),\n", | |
" (98568.0, 1280283963.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98569.0, 1280283968.0, 3.36, 508.0, 531.0, nan, 3),\n", | |
" (98570.0, 1280283977.0, 4.47, 508.0, 531.0, nan, 3),\n", | |
" (98571.0, 1280283989.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98572.0, 1280283989.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98573.0, 1280283992.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98574.0, 1280283994.0, 1.17, 508.0, 531.0, nan, 3),\n", | |
" (98575.0, 1280283999.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98576.0, 1280284002.0, 3.34, 508.0, 531.0, nan, 3),\n", | |
" (98577.0, 1280284009.0, 6.69, 508.0, 531.0, nan, 3),\n", | |
" (98578.0, 1280284020.0, 1.17, 508.0, 531.0, nan, 3),\n", | |
" (98579.0, 1280284025.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98580.0, 1280284031.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98581.0, 1280284036.0, 3.34, 508.0, 531.0, nan, 3),\n", | |
" (98582.0, 1280284044.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98583.0, 1280284048.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98584.0, 1280284050.0, 4.46, 508.0, 531.0, nan, 3),\n", | |
" (98585.0, 1280284060.0, 0.0, 508.0, 531.0, nan, 3),\n", | |
" (98586.0, 1280284062.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98587.0, 1280284065.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98588.0, 1280284068.0, 4.47, 508.0, 531.0, nan, 3),\n", | |
" (98589.0, 1280284079.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98590.0, 1280284079.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98591.0, 1280284079.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98592.0, 1280284085.0, 1.17, 508.0, 531.0, nan, 3),\n", | |
" (98593.0, 1280284087.0, 4.47, 508.0, 531.0, nan, 3),\n", | |
" (98594.0, 1280284096.0, 0.0, 508.0, 531.0, nan, 3),\n", | |
" (98595.0, 1280284098.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98596.0, 1280284104.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98597.0, 1280284107.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98598.0, 1280284108.0, 0.0, 508.0, 531.0, nan, 3),\n", | |
" (98599.0, 1280284112.0, 2.25, 508.0, 531.0, nan, 3),\n", | |
" (98600.0, 1280284119.0, 3.34, 508.0, 531.0, nan, 3),\n", | |
" (98601.0, 1280284127.0, 3.36, 508.0, 531.0, nan, 3),\n", | |
" (98602.0, 1280284132.0, 5.59, 508.0, 531.0, nan, 3),\n", | |
" (98603.0, 1280284142.0, 1.11, 508.0, 531.0, nan, 3),\n", | |
" (98604.0, 1280284146.0, 2.25, 508.0, 531.0, nan, 3),\n", | |
" (98605.0, 1280284156.0, 4.46, 508.0, 531.0, nan, 3),\n", | |
" (98606.0, 1280284160.0, 2.25, 508.0, 531.0, nan, 3),\n", | |
" (98607.0, 1280284168.0, 2.23, 508.0, 531.0, nan, 3),\n", | |
" (98608.0, 1280284173.0, 0.0, 508.0, 531.0, nan, 3),\n", | |
" (98609.0, 1280284174.0, 3.36, 508.0, 531.0, nan, 3),\n", | |
" (98610.0, 1280284181.0, 0.0, 508.0, 531.0, nan, 3),\n", | |
" (98611.0, 1280284183.0, 6.7, 508.0, 531.0, nan, 4),\n", | |
" (98612.0, 1280284200.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98613.0, 1280284205.0, 4.47, 508.0, 531.0, nan, 4),\n", | |
" (98614.0, 1280284205.0, 4.47, 508.0, 531.0, nan, 4),\n", | |
" (98615.0, 1280284211.0, 0.0, 508.0, 531.0, nan, 4),\n", | |
" (98616.0, 1280284214.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98617.0, 1280284217.0, 4.46, 508.0, 531.0, nan, 4),\n", | |
" (98618.0, 1280284227.0, 0.0, 508.0, 531.0, nan, 4),\n", | |
" (98619.0, 1280284229.0, 3.36, 508.0, 531.0, nan, 4),\n", | |
" (98620.0, 1280284234.0, 5.59, 508.0, 531.0, nan, 4),\n", | |
" (98621.0, 1280284250.0, 7.81, 508.0, 531.0, nan, 4),\n", | |
" (98622.0, 1280284272.0, 4.46, 508.0, 531.0, nan, 4),\n", | |
" (98623.0, 1280284278.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98624.0, 1280284281.0, 3.34, 508.0, 531.0, nan, 4),\n", | |
" (98625.0, 1280284288.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98626.0, 1280284290.0, 2.25, 508.0, 531.0, nan, 4),\n", | |
" (98627.0, 1280284300.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98628.0, 1280284305.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98629.0, 1280284307.0, 3.36, 508.0, 531.0, nan, 4),\n", | |
" (98630.0, 1280284312.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98631.0, 1280284312.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98632.0, 1280284312.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98633.0, 1280284316.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98634.0, 1280284316.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98635.0, 1280284316.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98636.0, 1280284321.0, 3.36, 508.0, 531.0, nan, 4),\n", | |
" (98637.0, 1280284321.0, 3.36, 508.0, 531.0, nan, 4),\n", | |
" (98638.0, 1280284321.0, 3.36, 508.0, 531.0, nan, 4),\n", | |
" (98640.0, 1280284329.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98639.0, 1280284329.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98641.0, 1280284332.0, 12.31, 508.0, 531.0, nan, 4),\n", | |
" (98642.0, 1280284332.0, 12.31, 508.0, 531.0, nan, 4),\n", | |
" (98643.0, 1280284360.0, 4.46, 508.0, 531.0, nan, 4),\n", | |
" (98644.0, 1280284360.0, 4.46, 508.0, 531.0, nan, 4),\n", | |
" (98645.0, 1280284375.0, 8.95, 508.0, 531.0, nan, 4),\n", | |
" (98646.0, 1280284396.0, 4.46, 508.0, 531.0, nan, 4),\n", | |
" (98647.0, 1280284408.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98648.0, 1280284408.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98649.0, 1280284411.0, 3.36, 508.0, 531.0, nan, 4),\n", | |
" (98650.0, 1280284411.0, 3.36, 508.0, 531.0, nan, 4),\n", | |
" (98651.0, 1280284418.0, 0.0, 508.0, 531.0, nan, 4),\n", | |
" (98652.0, 1280284420.0, 5.57, 508.0, 531.0, nan, 4),\n", | |
" (98653.0, 1280284420.0, 5.57, 508.0, 531.0, nan, 4),\n", | |
" (98654.0, 1280284431.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98655.0, 1280284431.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98656.0, 1280284435.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98657.0, 1280284438.0, 1.17, 508.0, 531.0, nan, 4),\n", | |
" (98658.0, 1280284441.0, 0.0, 508.0, 531.0, nan, 4),\n", | |
" (98659.0, 1280284443.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98660.0, 1280284450.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98661.0, 1280284454.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98662.0, 1280284455.0, 3.34, 508.0, 531.0, nan, 4),\n", | |
" (98664.0, 1280284464.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98663.0, 1280284464.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98665.0, 1280284465.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98666.0, 1280284471.0, 3.34, 508.0, 531.0, nan, 4),\n", | |
" (98667.0, 1280284481.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98668.0, 1280284481.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98669.0, 1280284491.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98671.0, 1280284497.0, 4.46, 508.0, 531.0, nan, 4),\n", | |
" (98670.0, 1280284497.0, 4.46, 508.0, 531.0, nan, 4),\n", | |
" (98672.0, 1280284507.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98673.0, 1280284507.0, 1.11, 508.0, 531.0, nan, 4),\n", | |
" (98674.0, 1280284509.0, 4.46, 508.0, 531.0, nan, 4),\n", | |
" (98675.0, 1280284516.0, 4.46, 508.0, 531.0, nan, 4),\n", | |
" (98676.0, 1280284530.0, 3.34, 508.0, 531.0, nan, 4),\n", | |
" (98677.0, 1280284538.0, 0.0, 508.0, 531.0, nan, 4),\n", | |
" (98678.0, 1280284539.0, 2.23, 508.0, 531.0, nan, 4),\n", | |
" (98679.0, 1280284546.0, 1.17, 508.0, 531.0, nan, 4),\n", | |
" (98680.0, 1280284549.0, 2.23, 508.0, 531.0, nan, 5),\n", | |
" (98681.0, 1280284552.0, 1.17, 508.0, 531.0, nan, 5),\n", | |
" (98682.0, 1280284558.0, 1.11, 508.0, 531.0, nan, 5),\n", | |
" (98683.0, 1280284560.0, 2.25, 508.0, 531.0, nan, 5),\n", | |
" (98684.0, 1280284566.0, 1.11, 508.0, 531.0, nan, 5),\n", | |
" (98685.0, 1280284568.0, 1.17, 508.0, 531.0, nan, 5),\n", | |
" (98686.0, 1280284571.0, 3.36, 508.0, 531.0, nan, 5),\n", | |
" (98687.0, 1280284580.0, 7.81, 508.0, 531.0, nan, 5),\n", | |
" (98688.0, 1280284607.0, 3.51, 508.0, 531.0, nan, 5),\n", | |
" (98689.0, 1280284619.0, 1.17, 508.0, 531.0, nan, 5),\n", | |
" (98690.0, 1280284622.0, 1.32, 508.0, 531.0, nan, 5),\n", | |
" (98691.0, 1280284622.0, 1.32, 508.0, 531.0, nan, 5),\n", | |
" (98692.0, 1280284632.0, 5.85, 508.0, 531.0, nan, 5),\n", | |
" (98693.0, 1280284661.0, 1.32, 508.0, 531.0, nan, 5),\n", | |
" (98694.0, 1280284668.0, 1.32, 508.0, 531.0, nan, 5),\n", | |
" (98695.0, 1280284672.0, 1.54, 508.0, 531.0, nan, 5),\n", | |
" (98696.0, 1280284690.0, 1.17, 508.0, 531.0, nan, 5),\n", | |
" (98697.0, 1280284695.0, 3.35, 508.0, 531.0, nan, 5),\n", | |
" (98698.0, 1280284728.0, 3.97, 508.0, 531.0, nan, 5),\n", | |
" (98699.0, 1280284794.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98700.0, 1280284798.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98701.0, 1280284801.0, 1.11, 508.0, 531.0, nan, 5),\n", | |
" (98702.0, 1280284801.0, 1.11, 508.0, 531.0, nan, 5),\n", | |
" (98703.0, 1280284818.0, 0.35, 508.0, 531.0, nan, 5),\n", | |
" (98704.0, 1280284836.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98705.0, 1280284857.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98706.0, 1280284863.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98707.0, 1280284913.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98708.0, 1280284978.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98709.0, 1280285003.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98710.0, 1280285015.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98711.0, 1280285022.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98712.0, 1280285037.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98713.0, 1280285044.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98714.0, 1280285065.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98715.0, 1280285078.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98716.0, 1280285100.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98717.0, 1280285102.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98718.0, 1280285118.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98719.0, 1280285139.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98720.0, 1280285158.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98721.0, 1280285158.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98722.0, 1280285203.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98723.0, 1280285240.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98724.0, 1280285294.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98725.0, 1280285302.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98726.0, 1280285314.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98727.0, 1280285330.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98728.0, 1280285360.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98731.0, 1280285386.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98729.0, 1280285386.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98730.0, 1280285386.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98732.0, 1280285403.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98733.0, 1280285404.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98734.0, 1280285437.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98735.0, 1280285476.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98736.0, 1280285478.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98737.0, 1280285503.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98738.0, 1280285510.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98740.0, 1280285518.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98739.0, 1280285518.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98741.0, 1280285569.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98742.0, 1280285602.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98743.0, 1280285628.0, 0.0, 508.0, 531.0, nan, 5),\n", | |
" (98745.0, 1280285683.0, 6513.79, 508.0, 531.0, nan, 6),\n", | |
" (98744.0, 1280285683.0, 6513.79, 508.0, 531.0, nan, 7)], \n", | |
" dtype=[('ID', '<f8'), ('Event_ID', '<f8'), ('Dist2Next', '<f8'), ('xRefStation', '<f8'), ('xSampleNumber', '<f8'), ('subsample', '<f8'), ('index', '<i4')])" | |
] | |
} | |
], | |
"prompt_number": 5 | |
}, | |
{ | |
"cell_type": "code", | |
"collapsed": false, | |
"input": [], | |
"language": "python", | |
"metadata": {}, | |
"outputs": [] | |
} | |
], | |
"metadata": {} | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment