I want to do a 2d histogram using python and save the result as a three columns data file(x, y, histogram). The 2d data just looks like this:
x y
-0.609 -3.042
-0.528 -2.861
-1.219 -2.938
-0.196 -2.007
0.173 -3.128
1.600 -3.885
2.112 -2.432
...
Any recommendations?