Python Forum
Python and pandas: Aggregate lines form Excel sheet
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Python and pandas: Aggregate lines form Excel sheet
#7
(Oct-14-2023, 06:46 AM)Pedroski55 Wrote: Please have a look to see if this starts what you need correctly.

Hey there...

Unfortunately I was not able to troubleshoot the following error:

These are the sheets: TX
What sheet do you want to process? Copy and paste the sheet name ... TX
Traceback (most recent call last):
  File "D:\Python-Pandas\script.py", line 33, in <module>
    if not mylist in type_dict[sourceFile[mysheet].cell(row=rowNum, column=2).value]:
                     ~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
KeyError: None
Reply


Messages In This Thread
RE: Python and pandas: Aggregate lines form Excel sheet - by Glyxbringer - Oct-15-2023, 06:01 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  New on python. Needs help with Google sheet jeromep 1 303 Apr-25-2024, 06:47 PM
Last Post: deanhystad
  What are these python lines for? What are tey doing? Led_Zeppelin 7 1,681 Feb-13-2023, 03:08 PM
Last Post: deanhystad
  how to read txt file, and write into excel with multiply sheet jacklee26 14 10,503 Jan-21-2023, 06:57 AM
Last Post: jacklee26
  Start Putty into Python Form Schlazen 5 5,595 Dec-13-2022, 06:28 AM
Last Post: divya130
  Need Help! Pandas EXCEL PIVOT psb3958 1 985 Nov-13-2022, 10:37 PM
Last Post: deanhystad
  export into excel, how to implement pandas into for-loop deneme2 6 2,605 Sep-01-2022, 05:44 AM
Last Post: deneme2
  Help with Integration Pandas excel - Python Gegemendes 5 1,906 Jun-05-2022, 09:46 PM
Last Post: Gegemendes
  df column aggregate and group by multiple columns SriRajesh 0 1,090 May-06-2022, 02:26 PM
Last Post: SriRajesh
  Reading Excel file and use a wildcard in file name and sheet name randolphoralph 6 7,363 Jan-13-2022, 10:20 PM
Last Post: randolphoralph
  Problem in saving .xlsm (excel) file using pandas dataframe in python shantanu97 2 4,434 Aug-29-2021, 12:39 PM
Last Post: snippsat

Forum Jump:

User Panel Messages

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