Irv Kalb wrote, on February 23, 2017 3:51 PM
> 
> > On Feb 23, 2017, at 3:00 PM, Deborah Swanson 
> > <pyt...@deborahswanson.net 
> <mailto:pyt...@deborahswanson.net>> wrote:
> > 
> > The weirdness is that
> > 
> > group[0][4]
> > 
> > gets the right answer, but
> > 
> > group[[idx][records_idx[label]]],
> > where idx = 0 and records_idx[label]] = 4
> 
> 
> If that's the case, then I think you need this instead:
> 
> group[idx][records_idx[label]]
> 
> Irv

Yes, that's exactly right and it works in my running code. Three of you
have now spotted the problem (and explained it in terms I can
recognize). Thank you all!

-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to