hicrep icon indicating copy to clipboard operation
hicrep copied to clipboard

FutureWarning: treating keys as positions in deprecated in pandas

Open bskubi opened this issue 9 months ago • 1 comments

Describe the bug Running HicRep gives the FutureWarning:

FutureWarning: Series.getitem treating keys as positions is deprecated. In a future version, integer keys will always be treated as labels (consistent with DataFrame behavior). To access a value by position, use ser.iloc[pos] assert (cool1.chroms()[:] == cool2.chroms()[:]).all()[0],\

To Reproduce Simply run HicRep, it happens every time.

Desktop (please complete the following information): Most recent version running on Ubuntu Jammy Jellyfish

It would be great to have this cleared up so my users don't have to worry about the package breaking at some point in the future. Thank you!!!

bskubi avatar May 02 '24 00:05 bskubi