pandas - python find columns whose values are approximately some values in a csv -
i have csv file looks following:
coord,score 0.09,1.0 0.21,0.8 0.30,0.7 0.39,0.9
where 1st column represents coordinates in float, , 2nd kind of score. wonder if there way retrieve above scores @ specified coordinates, [0.1, 0.2, 0.3, 0.4]. notice there kind of fuzzy matching @ coordinates here. can assume such coordinates valid.
is there python or pandas method capable of achieving this? code snippets helpful. thanks!
update: manually checking 'coord' against expected coordinates, wonder if there python/pandas function doing so.
Comments
Post a Comment