502cff1a51b1f7c8f980886c3e1fb93b69319489,examples/glyphs/daylight.py,,,#,17
Before Change
summer_start = df.Summer.tolist().index(1)
summer_end = df.Summer.tolist().index(0, summer_start)
calendar_start = df.Date.irow(0)
summer_start = df.Date.irow(summer_start)
summer_end = df.Date.irow(summer_end)
calendar_end = df.Date.irow(-1)
After Change
summer_end = df.Summer.tolist().index(0, summer_start)
calendar_start = df.Date.iat[0]
summer_start = df.Date.iat[summer_start]
summer_end = df.Date.iat[summer_end]
calendar_end = df.Date.iat[-1]
d1 = calendar_start + (summer_start - calendar_start)/2
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: bokeh/bokeh
Commit Name: 502cff1a51b1f7c8f980886c3e1fb93b69319489
Time: 2015-12-30
Author: bryanv@continuum.io
File Name: examples/glyphs/daylight.py
Class Name:
Method Name:
Project Name: soft-matter/trackpy
Commit Name: 1d7aea8ca9b3ddd1f9a8db47341427a0ac41f057
Time: 2012-12-11
Author: daniel.b.allan@gmail.com
File Name: mr/motion.py
Class Name:
Method Name: msd
Project Name: bokeh/bokeh
Commit Name: 3a5edd0bc7d501e74149d6896d6b1f2facdbd4c1
Time: 2016-09-22
Author: mattpap@gmail.com
File Name: examples/models/daylight.py
Class Name:
Method Name: