qpsolvers / qpbenchmark

Benchmark for quadratic programming solvers available in Python
Apache License 2.0
111 stars 10 forks source link

Fix pandas warnings #94

Closed stephane-caron closed 11 months ago

stephane-caron commented 11 months ago

The two warnings were:

qpbenchmark/report.py:108: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
  df = pandas.concat(

And:

qpbenchmark/lib/python3.10/site-packages/qpbenchmark/report.py:151: FutureWarning: The behavior of DataFrame concatenation with empty or all-NA entries is deprecated. In a future version, this will no longer exclude empty or all-NA columns when determining the result dtypes. To retain the old behavior, exclude the relevant entries before the concat operation.
  df = pandas.concat(