Python Forum
python/access/pandas
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
python/access/pandas
#3
(Nov-11-2023, 12:44 PM)buran Wrote: https://www.compart.com/en/unicode/U+000D
Yes, it is a CR.
I found that" \n" is replaced by " _X000D_ ", in the text, but not removed.
Removing "_X000D_" with python, after the replacement of '\n', seems a tall order.
Very confusing info on the internet. Maybe Unicode helps.
There is always the kiss method. In this case ctrl-H on the final txt file. Replace "_X000D_"
with nothing.
Not a very pythonesk solution, until I have tested with the CR unicode equivalent.
Thanks,
Paul
It is more important to do the right thing, than to do the thing right.(P.Drucker)
Better is the enemy of good. (Montesquieu) = French version for 'kiss'.
Reply


Messages In This Thread
python/access/pandas - by DPaul - Nov-11-2023, 08:04 AM
RE: python/access/pandas - by buran - Nov-11-2023, 12:44 PM
RE: python/access/pandas - by DPaul - Nov-11-2023, 06:23 PM

Forum Jump:

User Panel Messages

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