nmhkahn/torchsummaryX

Pandas FutureWarning

Opened this issue · 1 comments

I get the following FutureWarning on torchsummary 1.3.0 (latest) and pandas 1.3.1 (latest) on Python 3.9 under Windows10

FutureWarning: Dropping of nuisance columns in DataFrame reductions (with 'numeric_only=None') is deprecated; in a future version this will raise TypeError.  Select only valid columns before calling the reduction.
  df_sum = df.sum()

For more info the line in question is there:
/usr/local/lib/python3.7/dist-packages/torchsummaryX/torchsummaryX.py:101: