バグ TypeError:フレキシブルタイプではreduceを実行できません Typeerror Cannot Perform Reduce With Flexible Type TypeError: cannot perform reduce with flexible typeこの場合、データはプレーンテキストでタイプを指定する必要があります。 たとえば、テキストファイルのデータを読み取る場合for i in open('fsomefile'): i = int(i)