Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot

Re: Newbie question

by swl (Vicar)
on Oct 19, 2021 at 21:47 UTC ( #11137751=note: print w/replies, xml ) Need Help??

in reply to Newbie question

hippo has answered #2, but you could also have a look at Data::Frame for a general structure. It does not do things like joins and the API is marked as experimental, but it might still be interesting.

Data::Frame uses PDL for the numeric data, which is something else you could look at if you do not have mixed strings and numbers (but then you would probably be asking about numpy equivalents).

It also has a high number of fails on cpan testers, but those seem to have been cleared up with recent releases of PDL.

Replies are listed 'Best First'.
Re^2: Newbie question
by SpaceCowboy (Acolyte) on Oct 19, 2021 at 21:51 UTC
    Thanks for your response. I am getting data from multiple databases. I needed to extract them, store them in a variable, drop a few columns, rename a few, calculate bunch of fields and prepare a final dataset. IS this still possible with Data::Frame and PDL as a whole?

      Possibly, but have a look at the documentation. It's probably better in the long run to work directly with the database, as per hippo's suggestion in 11137712.

      One place to start would be DBI, but stated with the caveat that I've never used it or interacted with databases via perl. However, many of the other monks have and could give you good advice.

      If PDL processing is still desired, there is PDL::IO::DBI to bring in data from RDBMS.

Log In?

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11137751]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2023-02-05 13:40 GMT
Find Nodes?
    Voting Booth?
    I prefer not to run the latest version of Perl because:

    Results (31 votes). Check out past polls.