CLN: make chunksize an integer in  to_csv to avoid float slicing semantics
CLN: make nxes integers in _get_layout
Merge pull request #7204 from jreback/depr_clean

CLN: eliminate depr warnings on 3.4