Dear Geeks, I have a situation that I am trying to figure out how to automate on excel or write a program in python. i have a csv file like this:
> team1 team2 win
> hawks celtics 1
> hawks knicks 1
> hawks 76ers 0
> hawks lakers 0
>
etc...
i want to transform this data into a matrix
> XXXX hawks celtics knics 76ers lakers
> hawks 0 1 1 0 0
> celtics x x x x x etc...
> knics
> 76ers
> lakers
>
hope i have explained my question clearly. appreciate your help