Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #31.8K
~2K People Reached
Favorite Forums
Favorite Tags
I am trying to count the number of hits a value in one file(column) falls between an interval from another file (two columns). I am completely stuck on how to map it. I tried something like this: for line in file1: if line[0]=line2[0] and line2[1]<line[1]<line2[2]: print line I'm not sure … |
|
Re:
Here is example how data can be summed to dictionary or you can use numpy.histogram to sum the data as weights of the categorized data. |