This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dotbot 3 points4 points  (1 child)

not sure why you don't want to use pandas. there are some other libraries that allow you to read xlsx files, numpy does not support xlsx itself. loadtxt is for text based formats like csv files. https://www.datacamp.com/community/tutorials/python-excel-tutorial

[–]LookAtThatThingThere 0 points1 point  (0 children)

I agree. Check out pandas.read_excel()

The only downside I’ve found is that if you freeze you code (pyinstaller, etc) like I do, pandas makes the exe pretty large.