Python Forum
How to parse the data in python
Thread Rating:
  • 3 Vote(s) - 2.67 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to parse the data in python
#10
'JC-PENNY' is continuous string and will not be splitted with default settings.

Regarding the implementation of code you presented in Python.... huh, how to put it. I am more in programming and not in manual labor. I let Python work for me, I don't use Python as type machine. If one needs to treat every row by separate (arbitrary) rules then... it's manual and error prone. However, it can be done (and quite easily when not considering the rules you must define for every row)

The more general question is - what you intend to do with this data at the end? Maybe there are easier ways to achieve your desired results than have specific rules for every row? You stated that you want send parsed data into table. Then what? It seems to me that it can't be the end-result.
I'm not 'in'-sane. Indeed, I am so far 'out' of sane that you appear a tiny blip on the distant coast of sanity. Bucky Katt, Get Fuzzy

Da Bishop: There's a dead bishop on the landing. I don't know who keeps bringing them in here. ....but society is to blame.
Reply


Messages In This Thread
How to parse the data in python - by sandy - Jan-12-2019, 12:35 AM
RE: How to parse the data in python - by stullis - Jan-12-2019, 02:04 AM
RE: How to parse the data in python - by sandy - Jan-13-2019, 10:40 PM
RE: How to parse the data in python - by sandy - Jan-14-2019, 03:22 AM
RE: How to parse the data in python - by stullis - Jan-14-2019, 03:36 AM
RE: How to parse the data in python - by perfringo - Jan-14-2019, 06:25 AM
RE: How to parse the data in python - by sandy - Jan-14-2019, 06:50 AM
RE: How to parse the data in python - by perfringo - Jan-14-2019, 08:49 AM
RE: How to parse the data in python - by sandy - Jan-14-2019, 06:09 PM
RE: How to parse the data in python - by perfringo - Jan-15-2019, 10:21 AM
RE: How to parse the data in python - by sandy - Jan-15-2019, 05:50 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [split] Parse Nested JSON String in Python mmm07 4 1,686 Mar-28-2023, 06:07 PM
Last Post: snippsat
  python read iperf log and parse throughput jacklee26 4 3,013 Aug-27-2022, 07:04 AM
Last Post: Yoriz
  How to parse a live feed in Python? Daring_T 2 4,448 Jan-20-2022, 04:17 AM
Last Post: Daring_T
  how to parse data fakka 2 1,570 Sep-22-2021, 10:50 PM
Last Post: bowlofred
  Parse BytesIO data GrahamL 2 2,282 Aug-19-2020, 05:09 PM
Last Post: bowlofred
  Parse a REST API call using Python GKT 1 2,018 May-07-2020, 04:15 AM
Last Post: buran
  command line input (arg parse) and data exchange Simba 7 4,495 Dec-06-2019, 11:58 PM
Last Post: Simba
  Read csv file, parse data, and store in a dictionary markellefultz20 4 4,743 Nov-26-2019, 03:33 PM
Last Post: DeaD_EyE
  Parse data from xml file klllmmm 9 9,783 Jun-25-2019, 05:14 PM
Last Post: heiner55
  Parse the data in XML metadata field klllmmm 2 3,400 Jun-19-2019, 04:24 PM
Last Post: klllmmm

Forum Jump:

User Panel Messages

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