Python Forum
read multiple .xlsx files and text files in a directory
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
read multiple .xlsx files and text files in a directory
#6
(Jun-05-2017, 11:58 AM)Larz60+ Wrote: ......
I would still look at pandas. I am not saying that there is anything wrong with the package you are using, but I had problems with a few when I needed to manipulate excel.
At the risk of facing fire and brimstone  Tongue , I would like to point out that pandas  - great package, BTW Thumbs Up - may be intimidating for beginners.

And its functioning against Excel is not without flaws. When I saved a huge dataframe that contained a column of string digits, it (the column) was saved as numbers in Excel. Lucky for me, they were saved as integers - otherwise, my data would have been corrupted (like when it was converted to scientific form Cry ).

pandas will not provide you with formatting options either.

(Jun-05-2017, 11:58 AM)Larz60+ Wrote: Pandas is rock solid, and offers many more features
About "rock solid" - they have been making some changes that are not backward-compatible lately, I believe?! And occasionally you don't need "more features" Wink

(Jun-05-2017, 11:58 AM)Larz60+ Wrote: ......
I would still look at pandas. I am not saying that there is anything wrong with the package you are using, but I had problems with a few when I needed to manipulate excel.
At the risk of facing fire and brimstone  Tongue , I would like to point out that pandas  - great package, BTW Thumbs Up - may be intimidating for beginners.

And its functioning against Excel is not without flaws. When I saved a huge dataframe that contained a column of string digits, it (the column) was saved as numbers in Excel. Lucky for me, they were saved as integers - otherwise, my data would have been corrupted (like when it was converted to scientific form Cry ).

pandas will not provide you with formatting options either.

(Jun-05-2017, 11:58 AM)Larz60+ Wrote: Pandas is rock solid, and offers many more features
About "rock solid" - they have been making some changes that are not backward-compatible lately, I believe?! And occasionally you don't need "more features" Wink
Test everything in a Python shell (iPython, Azure Notebook, etc.)
  • Someone gave you an advice you liked? Test it - maybe the advice was actually bad.
  • Someone gave you an advice you think is bad? Test it before arguing - maybe it was good.
  • You posted a claim that something you did not test works? Be prepared to eat your hat.
Reply


Messages In This Thread
RE: read multiple .xlsx files and text files in a directory - by volcano63 - Jun-06-2017, 06:43 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Import multiple CSV files into pandas Krayna 0 1,749 May-20-2021, 04:56 PM
Last Post: Krayna
  Python - Pandas writing blank files to file tdunphy 0 2,027 Jan-14-2021, 12:11 AM
Last Post: tdunphy
  Most Compatible Text Editor to Handle Large Files? Robotguy 2 2,416 Aug-18-2020, 03:51 PM
Last Post: FortyTwo
  Creating many csv files from Pandas EMA 0 1,655 Jul-26-2020, 06:39 PM
Last Post: EMA
  Loading multiple JSON files to create a csv 0LI5A3A 0 2,131 Jun-28-2020, 10:35 PM
Last Post: 0LI5A3A
  Binning data to files Kappel 4 2,457 Jun-22-2020, 06:25 PM
Last Post: Kappel
  Filter rows by multiple text conditions in another data frame i.e contains strings an Pan 0 2,183 Jun-09-2020, 06:05 AM
Last Post: Pan
  Can't read text file with pandas zinho 6 12,203 May-24-2020, 06:13 AM
Last Post: azajali43
  XLSX file with multiple sheets to josn file ovidius 2 2,276 Apr-05-2020, 09:22 AM
Last Post: ovidius
  Can python read Marathi text files and summarize them? mcp111 0 1,860 Mar-18-2020, 08:58 AM
Last Post: mcp111

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020