Skip to content

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.

Skills: Python

Awarded to:

Project budget: $27 USD / hour
budget limits: $25-50 USD / hour
number of bids: 25
average bids: $34/hour

Do you have a similar project. Contact us now to help you get it done

Email
Project Type*

Awarded to:

Project budget: $27 USD / hour
budget limits: $25-50 USD / hour
number of bids: 25
average bids: $34/hour

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.

Skills: Python

Do you have a similar project. Contact us now to help you get it done

Email
Project Type*

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

Other freelancers

Responsive image

Ismet A.

.NET/Blockchain Senior Developer & Project Manager

3.1 (25 reviews)

Responsive image

Malkesh M.

.NET | Python | React | Mobile | Web Design

4.7 (40 reviews)

Responsive image

Ghazi K.

Software Solution Provider

5.0 (29 reviews)

Responsive image

NovaSofts

Top 1% I.T Organisation of Freelancer.com.

4.8 (782 reviews)

×

Hello!

Do you have an idea or project. Contact us and we'll get it done for you

× Do you have an idea or project?