TST: change a small float comparison to np.allclose
DOC: cookbook addition
Merge pull request #4307 from jreback/ujson_small_fix

TST: change a small float comparison to np.allclose (GH4306)