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

Refresh

2 weeks ago

Views

19 time

1

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