Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有许多样式数据框(使用 df.style),我将如何将其转换为图像。
如果我尝试使用以下方法保存这些:
df_styled.savefig('/u1/username/df_styled.png')
我收到以下错误:
AttributeError: 'Styler' object has no attribute 'savefig'