我在PDF中列出了机构的捐赠者;here's就是一个例子。我可以把它们转换成excel,在那里我会得到这样的东西:
不用说,当我只是做pd.read_excel(filename)
的时候,结果并不有趣。你知道吗
有没有一个好的方法,Pythonic的方法把它们转换成这样的格式:
Name,Amount
The City of New York,2000000
The State of New York,2000000
United States Department of Transportation,2000000
Michael R. Bloomberg,2000000
...
Ronnie and Lawrence D. Ackman,1000000
American Express,1000000
目前没有回答
相关问题 更多 >
编程相关推荐