FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated use `arr[tuple(seq)]`

前端 未结 4 1112
予麋鹿
予麋鹿 2020-12-03 13:37

I have searched S/O but I couldn\'t find a answer for this.

When I try to plot a distribution plot using seaborn I am getting a futurewarning. I was wondering what

4条回答
  •  抹茶落季
    2020-12-03 14:14

    I came across the same warning. I updated scipy,pandas and numpy. I still get it.I get it when i use seaborn.pairplot with kde, which underneath uses seaborn.kdeplot.

    If you want to get rid off the warning you can use warnings library. Ex:

    import warnings
    
    with warnings.catch_warnings():
    
        your_code_block
    

提交回复
热议问题