Python Forum
Unable to do the proper split using re.sub incase of missing data.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Unable to do the proper split using re.sub incase of missing data.
#2
this looks like fixed width text file. don't use re, use slicing or struct
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


Messages In This Thread
RE: Unable to do the proper split using re.sub incase of missing data. - by buran - Nov-17-2019, 05:58 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Pyserial issues with proper loops and binary jttolleson 16 2,691 Nov-02-2023, 08:39 PM
Last Post: deanhystad
  counting lines in split data Skaperen 6 1,449 Oct-07-2022, 07:09 PM
Last Post: Skaperen
  Unable to request image from FORM Data usman 0 1,010 Aug-18-2022, 06:23 PM
Last Post: usman
  Getting proper x,y axis values pyhill00 8 1,724 Jul-29-2022, 06:48 PM
Last Post: pyhill00
  Proper way to do the OR statement? Mark17 5 1,795 Mar-01-2022, 01:54 PM
Last Post: Mark17
  How to read rainfall time series and insert missing data points MadsM 4 2,221 Jan-06-2022, 10:39 AM
Last Post: amdi40
  split txt file data on the first column value shantanu97 2 2,466 Dec-29-2021, 05:03 PM
Last Post: DeaD_EyE
  Pandas: how to split one row of data to multiple rows and columns in Python GerardMoussendo 4 6,916 Feb-22-2021, 06:51 PM
Last Post: eddywinch82
  QR code data missing in some of my QR codes Pedroski55 6 3,637 Jan-26-2021, 04:38 AM
Last Post: Pedroski55
  Unable to Validate csv blanck data and write in csv prashant18 0 1,555 Jul-25-2020, 12:08 PM
Last Post: prashant18

Forum Jump:

User Panel Messages

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