Module Import alias identifier ImportFrom alias ImportFrom alias ImportFrom alias Assign NameStore ListComp ListComp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr comprehension NameStore Call NameLoad Str Assign NameStore Call NameLoad NameLoad For NameStore Call NameLoad NameLoad body AugAssignAdd SubscriptStore NameLoad Index NameLoad Num Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Assign NameStore ListLoad Num Num Num Num Num Num Num Num Num Print Call AttributeLoad Str attr Str Str Print Str For NameStore Call NameLoad Call NameLoad NameLoad body Assign NameStore SubscriptLoad NameLoad Index NameLoad Assign NameStore IfExp CompareLt BinOpAdd NameLoad Num Call NameLoad NameLoad SubscriptLoad NameLoad Index BinOpAdd NameLoad Num Num Print Call AttributeLoad Str attr NameLoad IfExp CompareLt NameLoad Num NameLoad Str Call AttributeLoad NameLoad attr BinOpBitAnd CompareGtE NameLoad NameLoad CompareLt NameLoad NameLoad
N/A N/A numpy np collections defaultdict itertools chain gzip GzipFile N/A dataset N/A N/A N/A int tok N/A tok N/A N/A N/A N/A line strip split N/A line N/A GzipFile retail.dat.gz N/A counts N/A defaultdict int N/A elem N/A chain dataset N/A N/A N/A counts N/A elem 1 N/A counts N/A N/A np array N/A list N/A N/A counts values N/A bins N/A 1 2 4 8 16 32 64 128 512 N/A N/A N/A  {0:11} | {1:12} format Nr of baskets Nr of products N/A -------------------------------- N/A i N/A range N/A len bins N/A N/A bot N/A bins N/A i N/A top N/A N/A N/A i 1 N/A len bins N/A bins N/A N/A i 1 100000000000 N/A N/A N/A   {0:4} - {1:3}   | {2:12} format bot N/A N/A top 1000 top N/A N/A np sum N/A N/A counts bot N/A counts top