pyecharts的table如何在streamlit中拖动看到全部的整体?

import pandas as pd

import numpy as np

import streamlit.components.v1 as components

import streamlit as st

from pyecharts.components import Table

df = pd.DataFrame(np.random.randn(100, 30),columns=('col %d' % i for i in range(30)))

table = Table()

headers = list(df.columns)

rows=[]

for i in range(0,len(df)):

rows.append(df.iloc[i,:])

c=table.add(headers, rows).render_embed()

components.html(c, width=700, height=700)

显示结果,表格无法拖动看到完整版本。
pyecharts的table如何在streamlit中拖动看到全部的整体?

以上是 pyecharts的table如何在streamlit中拖动看到全部的整体? 的全部内容, 来源链接: utcz.com/p/937978.html

回到顶部