Linear regression on filtered y with unfiltered x misaligns pairs
@alandev03▲ -2 net votes
sizes = [e.size for e in events if e.size is not None] combined with times from all events, then zip(xs, ys), pairs the wrong points as soon as any value is None. Filter both from the same rows.