0

我想使用给定数量和剩余余额的 holoviewS 创建一个动态图。理想情况下是折线图或条形图,我可以根据类别进行选择

数据(df)如下

ID Amount_Given Balance Interest  Date_issues   category Amount_Given_Band
   1   200         0       15       20180102       A          0-200
   2   700        500      25       20180203       B          500-1000
   3   1500       705.50   45       20170603       A          1001-5000
   4   20000      20000    200      20171231       C          10000-20000

下面是代码

%%opts Curve [width=600 height=400 show_grid=True ] (color='indianred', alpha=0.5, line_width=1)
ds = hv.Dataset(df).sort(['Date_issues'])
ds.to(hv.Curve, 'Date_issues' ,'Amount_Given_Band', 'category')

但我得到了错误

IOPub data rate exceeded.
The notebook server will temporarily stop sending output
to the client in order to avoid crashing it.
To change this limit, set the config variable
`--NotebookApp.iopub_data_rate_limit`.

我正在使用散景扩展

4

0 回答 0