Python Forum
splitting a csv file to create another csv
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
splitting a csv file to create another csv
#1
0


I have a csv file that as data as below in two columns

"ou=People, o=ic.com,o=xerox",{}

"uid=test.test30,ou=People,o=ic.com,o=xerox","{'claimnumber': ['XXX'], 'idnumber': ['44430']}"

I need to create a new csv file with below as the fields

claimnumber, idnumber
,
XXX, 44430

Any help?
Reply
#2
what have you tried so far?
Reply
#3
(Nov-24-2020, 04:39 PM)Larz60+ Wrote: what have you tried so far?

Agree Larz60+, show your original code.
Reply
#4
I am new to python and couldn't make a head start
Reply
#5
You should take a tutorial before continuing. You will learn nothing if we do it for you.
I suggest one of:
How to Think like a Computer Scientist: Interactive Edition
or
Python Tutorial
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Create Choices from .ods file columns cspower 3 518 Dec-28-2023, 09:59 PM
Last Post: deanhystad
  Recommended way to read/create PDF file? Winfried 3 2,783 Nov-26-2023, 07:51 AM
Last Post: Pedroski55
  Use PM4PY and create working file thomaskissas33 0 573 Nov-14-2023, 06:53 AM
Last Post: thomaskissas33
  Create csv file with 4 columns for process mining thomaskissas33 3 691 Nov-06-2023, 09:36 PM
Last Post: deanhystad
  splitting file into multiple files by searching for string AlphaInc 2 814 Jul-01-2023, 10:35 PM
Last Post: Pedroski55
  Splitting vocals from .wav file cfescript 1 593 May-15-2023, 09:28 PM
Last Post: Calab
  create exe file for linux? korenron 2 908 Mar-22-2023, 01:42 PM
Last Post: korenron
  my first file won't create itself MehHz2526 2 858 Nov-27-2022, 12:58 AM
Last Post: MehHz2526
  Create multiple/single csv file for each sql records mg24 6 1,322 Sep-29-2022, 08:06 AM
Last Post: buran
Sad pandas writer create "corrupted" file freko75 1 2,735 Jun-14-2022, 09:57 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