BUG: Series/DataFrame.rank() doesn't handle small floats correctly #6868
adding test for ranking with np.inf