【发布时间】:2020-10-02 13:48:19
【问题描述】:
我有以下网址link。
有没有一种简单的方法可以直接从 URL 在 Jupyter 笔记本中创建熊猫表?
其中第一列对应单词(例如 Eachwhere),第二列对应括号内的内容(例如 adv),第三列对应括号后面的内容(例如 Everywhere)?
来自链接:
E () The fifth letter of the English alphabet.
E () E is the third tone of the model diatonic scale. E/ (E flat) is a tone which is intermediate between D and E.
E- () A Latin prefix meaning out, out of, from; also, without. See Ex-.
Each (a. / a. pron.) Every one of the two or more individuals composing a number of objects, considered separately from the rest. It is used either with or without a following noun; as, each of you or each one of you.
Each (a. / a. pron.) Every; -- sometimes used interchangeably with every.
Eachwhere (adv.) Everywhere.
Eadish (n.) See Eddish.
【问题讨论】:
-
没有直接的方法可以实现您想要的。但是您可以使用 BeautifulSoup 来抓取内容,然后创建数据框。
标签: python pandas parsing nlp jupyter-notebook