python turtle画熊猫_如何用安德鲁曲线绘制熊猫数据帧?

我有以下熊猫数据帧:df = pd.read_csv('path/file/file.csv',

header=0, sep=',', names=['PhraseId', 'SentenceId', 'Phrase', 'Sentiment'])

我想用andrew_curves打印它。我尝试了以下方法:

^{pr2}$

你知道怎么画这个吗?。这是csv的内容:PhraseId, SentenceId, Phrase, Sentiment

1, 1, A series of escapades demonstrating the adage that what is good for the goose is also good for the gander , some of which occasionally amuses but none of which amounts to much of a story ., 1

2, 1, A series of escapades demonstrating the adage that what is good for the goose, 2

3, 1, A series, 2

4, 1, A, 2

5, 1, series, 2

6, 1, of escapades demonstrating the adage that what is good for the goose, 2

7, 1, of, 2

8, 1, escapades demonstrating the adage that what is good for the goose, 2

9, 1, escapades, 2

10, 1, demonstrating the adage that what is good for the goose, 2

11, 1, demonstrating the adage, 2

12, 1, demonstrating, 2

13, 1, the adage, 2

14, 1, the, 2

15, 1, adage, 2

16, 1, that what is good for the goose, 2

17, 1, that, 2

18, 1, what is good for the goose, 2

19, 1, what, 2

20, 1, is good for the goose, 2

21, 1, is, 2

22, 1, good for the goose, 3

23, 1, good, 3

24, 1, for the goose, 2

25, 1, for, 2

26, 1, the goose, 2

27, 1, goose, 2

28, 1, is also good for the gander , some of which occasionally amuses but none of which amounts to much of a story ., 2

29, 1, is also good for the gander , some of which occasionally amuses but none of which amounts to much of a story, 2


本文来自互联网用户投稿,文章观点仅代表作者本人,不代表本站立场,不承担相关法律责任。如若转载,请注明出处。 如若内容造成侵权/违法违规/事实不符,请点击【内容举报】进行投诉反馈!

相关文章

立即
投稿

微信公众账号

微信扫一扫加关注

返回
顶部