Mi sono avvicinato a Python da poco tempo, e quindi appassionato per le ragioni che sono sinteticamente riportate nello screenshot.
Vorrei sapere come "affettare" la seguente tabella (ne riporto uno stralcio di quella completa 15000 righe x 24 colonne):
Codice: Seleziona tutto
# ----------- dummy.txt ---------
(*) (*) (*) (*)
9 6 1 54983.00 I 0.031540 0.000038 0.533564 0.000042 I 0.2517073 0.0000057 1.4188 0.0045 I -60.675 0.161 -9.124 0.340 .031510 .533610 .2517120 -60.600 -9.100
9 6 2 54984.00 I 0.035498 0.000015 0.533731 0.000023 I 0.2503537 0.0000059 1.2829 0.0040 I -60.761 0.740 -9.053 0.340 .035490 .533780 .2503580 -60.600 -9.000
9 6 3 54985.00 I 0.039516 0.000049 0.534361 0.000032 I 0.2491601 0.0000057 1.0912 0.0040 I -60.779 0.168 -9.019 0.340 .039500 .534470 .2491590 -60.500 -9.000
9 6 4 54986.00 I 0.043773 0.000049 0.535228 0.000032 I 0.2481804 0.0000055 0.8722 0.0040 I -60.845 0.168 -9.011 0.340 .043750 .535270 .2481700 -60.600 -9.100
9 6 5 54987.00 I 0.048164 0.000050 0.536559 0.000031 I 0.2474214 0.0000057 0.6363 0.0039 I -60.977 0.168 -9.061 0.340 .048040 .536590 .2474210 -60.800 -9.200
9 6 6 54988.00 I 0.051763 0.000050 0.537789 0.000030 I 0.2468931 0.0000054 0.4446 0.0035 I -61.091 0.172 -9.216 0.108 .051770 .537870 .2468890 -61.200 -9.300
9 6 7 54989.00 I 0.055262 0.000050 0.538788 0.000030 I 0.2465087 0.0000041 0.3233 0.0034 I -61.163 0.245 -9.475 0.125 .055210 .538870 .2465000 -61.400 -9.500
9 6 8 54990.00 I 0.058631 0.000051 0.539480 0.000030 I 0.2462295 0.0000041 0.2529 0.0027 I -61.225 0.245 -9.678 0.125 .058610 .539540 .2462240 -61.500 -9.700
9 6 9 54991.00 I 0.061698 0.000024 0.540065 0.000029 I 0.2459726 0.0000035 0.2735 0.0027 I -61.282 0.191 -9.672 0.340 .061700 .540110 .2459700 -61.400 -9.600
9 610 54992.00 I 0.064372 0.000024 0.540441 0.000029 I 0.2456633 0.0000036 0.3517 0.0025 I -61.288 0.191 -9.480 0.340 .064320 .540580 .2456580 -61.200 -9.500
9 611 54993.00 I 0.067594 0.000025 0.540422 0.000029 I 0.2452479 0.0000036 0.4939 0.0025 I -61.269 0.191 -9.281 0.340 .067490 .540420 .2452440 -61.100 -9.300
9 612 54994.00 I 0.071060 0.000024 0.540558 0.000029 I 0.2446650 0.0000036 0.6677 0.0028 I -61.319 0.191 -9.200 0.340 .071070 .540620 .2446590 -61.000 -9.300
# --------------------------------
Grazie in anticipo