Fix issues with Series.crop precision
This PR fixes #1601 (closed) by tweaking the way that Series.crop
rounds floats to integers, using floor
instead of //
.
I also cleaned up the code and its tests a bunch.
This PR fixes #1601 (closed) by tweaking the way that Series.crop
rounds floats to integers, using floor
instead of //
.
I also cleaned up the code and its tests a bunch.