Question
I want to write python script in 3.4 or 3.6 I have one txt file with 4000 rows and 300 colums looks like below :
I want to write python script in 3.4 or 3.6
I have one txt file with 4000 rows and 300 colums
looks like below :
ATCA1B 10 14 ATCA2B 5 550 440 BYBG2 1 70 400 700 901 1012 I want to put same id belows each other with only one numerical value with that id. for example ATCA1B takes 10 and also takes 14 so result will be as below: The result will display in only two columns with id and numerical value as below: ATCA1B 10 ATCA1B 14 ATCA2B 5 ATCA2B 550 ATCA2B 440 BYBG2 1 BYBG2 70 BYBG2 440 BYBG2 700 BYBG2 901 BYBG2 1012 I want to save result in new txt file
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started