How to deal with FutureWarning: Int64Index.flags is deprecated and will be removed in a future version?


February 2019


62 time


I'm doing a Grid Search passing custom cross validation folds with a list with indices and getting this warning, Why I'm getting this warnings message? and how to avoid this warning?

My indexes are type 'int64'.

Note: I don't want to simply suppress the warning. I need a solution so that without adding suppress warning, current warnings should vanish.

0 answers