Opening and reading an excel .xlsx file in python

后端 未结 3 524
星月不相逢
星月不相逢 2021-01-03 00:15

I\'m trying to open an excel .xlsx file with python but am unable to find a way to do it, I\'ve tried using pandas but it\'s wanting to use a library called NumPy I\'ve trie

3条回答
  •  忘掉有多难
    2021-01-03 00:47

    Since I know other people will also be reading this -

    You can install the following module (it's not there automatically) https://pypi.python.org/pypi/openpyxl

    You can read the following to get a nice breakdown on how to use it

    https://automatetheboringstuff.com/chapter12/

提交回复
热议问题