df
id customer good revenue
0 0 John fruit 5.5
1 1 Mike meat 11.0
2 2 Betty drinks 7.0
3 3 Ben fruit 4.0
4 4 Betty bread 2.0
5 5 John bread 2.5
6 6 John drinks 8.0
7 7 Ben bread 2.0
8 8 Mike bread 3.5
9 9 John meat 13.0
sankey(left=df['customer'], right=df['good'], rightWeight=df['revenue'], aspect=20,fontsize=20, figureName="customer-good")
Traceback (most recent call last):
File "", line 1, in
TypeError: 'module' object is not callable
Can you help me, please?
Trying to run one the examples I got this error: