Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: Useful heuristics for analyzing arrays of data to determine column header

by karlgoethebier (Abbot)
on Feb 15, 2019 at 20:05 UTC ( [id://1229977]=note: print w/replies, xml ) Need Help??


in reply to Useful heuristics for analyzing arrays of data to determine column header

...autodetect...malformed data...try...

Skip the first line. Insist on sound data/specs. Don’t waste your time. Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfbish")->decrypt_hex($ENV{KARL});'Help

  • Comment on Re: Useful heuristics for analyzing arrays of data to determine column header
  • Download Code

Replies are listed 'Best First'.
Re^2: Useful heuristics for analyzing arrays of data to determine column header
by bliako (Monsignor) on Feb 15, 2019 at 23:56 UTC

    I agree with you but ... if data has no clean header (which is the simplest task in data-collection) then I suspect some of the rows will not be cleaned either. For example, there might be missing fields in rows, truncated or overflowed fields (because of some weird instrument error or network error or conversion error) or formally correct fields but qualitatively wrong (I mean an uncalibrated instrument etc.). So, if (yet another) outlier detection module comes out of this, provided nysus has the time, then let it be, I say.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-25 09:07 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found