0

环境:

  1. pandas_profiling - v2.8
  2. Python - 3.7.1。
  3. 壳牌 - 3.2
  4. macOS - 10.15.6

当我通过运行进行报告时

import pandas_profiling as pdp

df = pd.read_csv('some.csv', sep='\t', encoding='utf-16')
report =pdp.ProfileReport(df)
report.to_file(output_file='my_report.html')

我在下面收到了贬值警告。

/Users/myname/.pyenv/versions/3.7.1/lib/python3.7/site-packages/pandas_profiling/visualisation/plot.py:154: MatplotlibDeprecationWarning: You are modifying the state of a globally registered colormap. In future versions, you will not be able to modify a registered colormap in-place. To remove this warning, you can make a copy of the colormap first. cmap = copy.copy(mpl.cm.get_cmap("RdBu"))
  cmap.set_bad(cmap_bad)

当我逐行运行程序时,警告发生在最后一行。这个警告是什么意思,它会影响输出报告吗?

4

0 回答 0