I'm trying to create a matrix or a contingency table from a file that has this format:
Species Date Data
1 Dec 3
2 Jan 4
2 Dec 6
2 Dec 3
Result
1 2
Dec 3 9
Jan 4
More that I'd like to know how to turn myfile into an array that numpy will like. Basically I'm trying to recreate reshape from R
Hope this made sense. ThanksBlockquote
Made some edits so it might make more sense