我有范围数据,例如,一家教育机构正在为一批在线课程的学生收费
If 1-4 students join the fee is 10000/per batch
If 5-10 students join the fee is 15000/per batch
If 11-20 students join the fee is 22000/per batch
x = ['1-4','5-10','11-20']
y = [10000,15000,20000]
x和y是matplotlib的xlable和Yable。在这种情况下,如何转换x的数据并将其打印为xlable
可以将
x
和y
数组转换为数值数组,用于创建散点图:相关问题 更多 >
编程相关推荐