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

Baby steps to create a dataframe structure

Thread Next
Aureliano Guedes
July 21, 2020 23:42
Baby steps to create a dataframe structure
Message ID:
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:


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 Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About