You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It doesn't look well, no IDE hints, and constructs a new dict every time.
Would you consider pandas-like interface instead? x[x.batch==1] and x[x.batch>=1 && x.batch<4] syntax looks much better and allows for IDE hints. x.batch[1] and x.batch[1:4] also can be used for this specific case -- that would be amazing!