Build a short Python script to read data from a .txt file and store in numpy arrays for a simple calculation
Project details
Hi, I’m looking for someone who would be willing to help code a short and (hopefully) simple Python script that reads data from only a designated section in a .txt file and stores the data in separate numpy arrays for analysis purposes later (see attached file).
Please follow these guidelines pertaining to the analysis of the file attached:
1) Extract ONLY the data in the section of the file from the moment “DATA: REAL” is detected and read. Everything else is ignored above and below the designated data selection.
2) Write this selected data into a NEW .txt file ideally with the A,B,C,D etc header on the first line, and the data immediately following below in the respective columns.
2) From this NEW .txt file, read, extract and store the numerical data from the A, B, C, D, E, F, G, H, I columns into numpy arrays
3) Define a function that can do a simple multiplication between any user inputted arrays (so C*G for example). Output the result in a new .txt file and also to screen using print()
4) For the above, ideally please create 3 main classes with the following def functions: One for extraction, read and write of .txt file, Second Class for reading, extracting, storing data in numpy arrays, and Third class to do a simple multiplication for any array which the user inputs (must be only the data within the header of A,B,C,D etc)
5) The file will simple call the methods .extract(), .store() and .multiply(array_1, array_2) to perform the whole routine at once.
If any questions, please ask.
Work should not take longer than 1 hour max.
Thank you and I welcome your interest.
Awarded to:

Liam Meng L.
(5.0)
Awarded to:

Liam Meng L.
(5.0)
Project details
Please follow these guidelines pertaining to the analysis of the file attached:
1) Extract ONLY the data in the section of the file from the moment “DATA: REAL” is detected and read. Everything else is ignored above and below the designated data selection.
2) Write this selected data into a NEW .txt file ideally with the A,B,C,D etc header on the first line, and the data immediately following below in the respective columns.
2) From this NEW .txt file, read, extract and store the numerical data from the A, B, C, D, E, F, G, H, I columns into numpy arrays
3) Define a function that can do a simple multiplication between any user inputted arrays (so C*G for example). Output the result in a new .txt file and also to screen using print()
4) For the above, ideally please create 3 main classes with the following def functions: One for extraction, read and write of .txt file, Second Class for reading, extracting, storing data in numpy arrays, and Third class to do a simple multiplication for any array which the user inputs (must be only the data within the header of A,B,C,D etc)
5) The file will simple call the methods .extract(), .store() and .multiply(array_1, array_2) to perform the whole routine at once.
If any questions, please ask.
Work should not take longer than 1 hour max.
Thank you and I welcome your interest.
skills of Liam Meng L.
skill ? | level ? | projects ? | ||
---|---|---|---|---|
UNIX |
35%
|
1 | ||
Brochure Design |
34%
|
1 | ||
Poster Design |
34%
|
1 | ||
Sign Design |
34%
|
1 | ||
Sticker Design |
34%
|
1 | ||
Textile Design |
34%
|
1 | ||
Advertisement Design |
34%
|
1 | ||
Banner Design |
34%
|
1 | ||
Book Cover Design |
34%
|
1 | ||
Python |
34%
|
4 | ||
Package Design |
34%
|
1 | ||
Business Cards |
34%
|
1 | ||
Color Grading |
34%
|
1 | ||
Computer Graphics |
34%
|
1 | ||
HTML5 |
34%
|
1 | ||
XHTML |
34%
|
1 | ||
Web Development |
34%
|
1 | ||
Website Build |
34%
|
1 | ||
Packaging Design |
34%
|
1 | ||
Logo Design |
34%
|
1 | ||
Editing |
34%
|
1 | ||
Perl |
34%
|
1 | ||
Graphic Design |
34%
|
1 | ||
HTML |
34%
|
1 | ||
Java |
34%
|
3 | ||
PHP |
34%
|
1 | ||
Website Design |
34%
|
1 | ||
C# Programming |
34%
|
1 | ||
Creative Design |
34%
|
1 | ||
Label Design |
34%
|
1 | ||
Design |
34%
|
1 | ||
Digital Design |
34%
|
1 | ||
eBook Design |
34%
|
1 | ||
Flyer Design |
34%
|
1 | ||
Icon Design |
34%
|
1 | ||
Infographic and Powerpoint Slide Designing |
34%
|
1 | ||
Invitation Design |
34%
|
1 | ||
Landing Pages |
34%
|
1 |
Some Liam Meng L. projects
Project Title | Skills required in the project |
---|---|
Python Project | Python |
Build a short Python script to read data from a .txt file and store in numpy arrays for a simple calculation | Python |
edit instructional woodwork videos for youtube | Editing |
Build a Website | Graphic Design HTML Java PHP Website Design |
Small script to remove too long sentences from text | C# Programming Java Perl Python UNIX |
Python Project | Python |
Build a short Python script to read data from a .txt file and store in numpy arrays for a simple calculation | Python |
edit instructional woodwork videos for youtube | Editing |
Build a Website | Graphic Design HTML Java PHP Website Design |
Small script to remove too long sentences from text | C# Programming Java Perl Python UNIX |