(Dec-30-2018, 11:04 PM)snippsat Wrote: ...
Hi snippsat
Thx for input. Have heard about panda before, and its on my to do list to look more into. Think i can use it to a lot.
But when i print(df) i get this:
date day line o:points ... site team total week 0 20110911 Sunday 2.0 12 ... home Bears 40.5 1 1 20110918 Sunday 6.0 30 ... away Bears 47.0 2 [2 rows x 11 columns]How do i get it to print all 11 columns ?
Also i problably didnt explain it good enough.
For row 0 i want points and o:points to be added, and that showed in new column 12 named Sum.
Same with 1 etc.
I got ideas for about 5 columns more, all data for those columns is from calculations, so think if i just learn to do one of them i can always add on.
/ Carsten