Hello,
I'm using pandas datastructures in conjunction with other structures in a library for spectroscopy, so this may not be a pandas issue per-se, but I'm almost positive it is. Basically, I'm reading wavelengths from a csv file where they only go out to 2 decimal places (eg 450.05)
I read these into a dataframe, and then a store one column (with the same index) as a reference specturm. Thus, I have two dataframes (full spectra, single reference spectrum), with identical indicies, derived from the same original index. A lot is going on under the hood, but somehwere along the line, some of the wavelengths are being rounded differently. For example, here are the same three elements in two of the indexes:
[480.23 480.6 480.96] [480.23 480.59999999999997 480.96]
These are from Float64Index structures. I really have no clue if this discrepancy if occurring under the hood from anything I've done, or if it's perhaps an issue involving read_csv() and float64Index. Has anyone seen this type of problem before, and maybe could explain what the cause and resolution were in your case? I'm using 0.13.1
The real problem here is that when I add or subtract dataframes, these indicies are not aligned, so the result in NAN's
Thanks