develooper Front page | perl.perl6.users | Postings from July 2020

Baby steps to create a dataframe structure

Thread Next
From:
Aureliano Guedes
Date:
July 21, 2020 23:42
Subject:
Baby steps to create a dataframe structure
Message ID:
CAG9gabQ-G68X1rwAP0xHg7U5w9Z2b08A_RQFdJpqn79FT3Uhew@mail.gmail.com
Hi all,

I'd like to learn Raku deep enough to build a data structure. I have
experience with Perl5, Python, R, and even C/C++, then I get boring
feelings to learn something new from the beginning. Also, I prefer learning
a new language by applying f to something.

Since I work with data analysis and data science, I'd like to try to
develop a data structure to dataframe in pure Raku. And if I do a basic but
useful thing capable to load a field delimited file (as CSV or TSV) into a
dataframe, I'll transform in a package and upload it to GitHub to
comparatively enhance the package.
What I need is suggestions for how do I start it.
- How I define a data structure: an array of arrays?
- Given the raku itself (and maybe some already existing packages) what the
structures and functions I may use.

I got these ideas to start:

The dataframe should support columns name to be called as:

df.column1

and it should return a list of values on this column.
Also, when it read the delim file it should check each column type.


All suggestions are welcome.



-- 
Aureliano Guedes
skype: aureliano.guedes
contato:  (11) 94292-6110
whatsapp +5511942926110

Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About