MCPcopy Create free account
hub / github.com/QuantFans/quantdigger / process

Function process

quantdigger/backup/demo/entry_3d.py:50–63  ·  view source on GitHub ↗

docstring for process

(data2)

Source from the content-addressed store, hash-verified

48
49
50def process(data2):
51 '''docstring for process'''
52 xlist = []
53 ylist = []
54 zlist = []
55 #print groups.keys()
56 for i in range(len(data2.columns)):
57 zi = data2.ix[:, i]
58 #groups = group(zi.tolist())
59 n, bins = np.histogram(zi.tolist(), 40)
60 xlist.append(i+1)
61 ylist.append(bins[:-1])
62 zlist.append(n)
63 return xlist, ylist, zlist
64
65
66fig = plt.figure()

Callers 1

entry_3d.pyFile · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected