python - Error: list indices must be integers, not Series -
i have grabbed column pandas data frame , made list rows. if print first 2 values of list, output: print dflist[0] print dflist[1] 0 0.00 1 0.00 2 0.00 3 0.00 4 0.00 5 0.11 6 0.84 7 1.00 8 0.27 9 0.00 10 0.52 11 0.55 12 0.92 13 0.00 14 0.00 ... 50 0.42 51 0.00 52 0.00 53 0.00 54 0.40 55 0.65 56 0.81 57 1.00 58 0.54 59 0.21 60 0.00 61 0.33 62 1.00 63 0.75 64 1.00 name: 9, length: 65, dtype: float64 65 1.00 66 1.00 67 1.00 68 1.00 69 1.00 70 1.00 71 0.55 72 0.00 73 0.39 74 0.51 75 0.70 76 0.83 77 0.87 78 0.85 79 0.53 ... 126 0.83 127 0.83 128 0.83 129 0.71 130 0.26 131 0.11 132 0.00 133 0.00 134 0.50 135 1.00 136 1.00 137 0.59 138 0.59 139 0.59 140 1.00 name: 9, length: 76, dtype: float64 when try iterate on list loop, error message: for in dflist: print dflist[i] traceback (most recen