Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
excel - json
#21
Sorry, but I really don't understand what you are doing and not having your file or the code you actually run does not help. And frankly I am tired of guessing...
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs

Reply
#22
I've already arranged .j just prints the lines where they exist. Iteration case
Reply
#23
(Mar-01-2021, 08:21 PM)buran Wrote: Sorry, but I really don't understand what you are doing and not having your file or the code you actually run does not help. And frankly I am tired of guessing...

[quote]
I've already arranged .I just prints the lines where they exist. Iteration case.
Guessing is not: In an excel with hundreds of lines, not all cells in the lines are filled. I want to know which row has 12 cells filled and what the value of column T of that row is. And this is it. the file has 20 columns which is the T column
Thanks
Reply
#24
Thank you Mr Buran.
I finished the program !!!
I know that it is not at all well structured, with linear variables and little connected with the tables. what I lacked was:
for value in sheet.iter_rows(min_row=2,
max_row=19,
values_only=True):
# print(value)
print (len (value))
x = value.count(None)
print (x)

So I got to know who came in first!
With the recording in excel, and ending with shutil of the bsaid and bcart tables, the program was concluded. Thank you very much for your time. I know it is difficult to answer without having the complete program. Thanks again jmabrito
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Converting cells in excel to JSON format desmondtay 4 1,760 May-23-2022, 10:31 AM
Last Post: Larz60+
  [split] Print JSON Dictionary to Excel? venukommu 1 2,303 Nov-15-2019, 09:33 PM
Last Post: micseydel
  Nested json to excel using python unknown 1 4,452 Jun-13-2019, 05:40 AM
Last Post: buran
  Print JSON Dictionary to Excel? SimpleGuy 6 14,443 Aug-18-2017, 01:05 PM
Last Post: Larz60+

Forum Jump:

User Panel Messages

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