html_url,issue_url,id,node_id,user,created_at,updated_at,author_association,body,reactions,performed_via_github_app,issue https://github.com/pydata/xarray/issues/6573#issuecomment-1119076731,https://api.github.com/repos/pydata/xarray/issues/6573,1119076731,IC_kwDOAMm_X85Cs8F7,5635139,2022-05-05T21:47:59Z,2022-05-05T21:47:59Z,MEMBER,"It could be coherent to have: - `v32.x.equals(v64.x)` be false — the indexes themselves aren't the same - the join allow some float imprecision (similar to `method=nearest`), which would conveniently allow cases like this to work I could also imagine raising an error here and having the user coerce the type. That seems less surprising that the current situation. Other languages don't allow floats to be compared for equality at all...","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1226272301 https://github.com/pydata/xarray/issues/6573#issuecomment-1118239188,https://api.github.com/repos/pydata/xarray/issues/6573,1118239188,IC_kwDOAMm_X85CpvnU,5635139,2022-05-05T07:08:46Z,2022-05-05T07:08:46Z,MEMBER,"This does seem very odd. Does anyone have any ideas? As per @forman , changing ```diff -c32 = xr.DataArray(np.linspace(0, 1, 10, dtype=np.float32), dims='x') +c32 = xr.DataArray(np.linspace(0, 1, 10, dtype=np.float64), dims='x') ``` ...causes the assertion to pass. I'm not sure using floats as indexes is great, but I wouldn't have expected the results to be like this... ","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1226272301