Better HN
topnewbestaskshowjobs
Log inSign up

aks_c

278 karma · joined Aug 26, 2014 (12y ago) · 7 submissions

Submissions

1.

Create and submit R package to CRAN: Step-by-step guide(datavu.blogspot.com ↗)

8 points · by aks_c · 11y ago · 1 comment

2.

Simple explanation of Regression concepts(datavu.blogspot.com ↗)

2 points · by aks_c · 12y ago · discuss

3.

Statistical Modeling vs. Machine Learning(datavu.blogspot.com ↗)

7 points · by aks_c · 12y ago · discuss

comment 12y ago · link · parent

Consider I get 10 files of size 3 GB every week, which I am supposed to filter based on certain column using a reference index and forward to my colleague. Before filtering I also want to check how the file looks like: column names, first few records etc.

I can use something like following to explore few rows and few columns. $$ awk '{print $1,$3,$5}' file | head -10

And then I can use something like sed with reference index to filter the file. Since I plan to repeat this with different files, databases would be time consuming(even if I automate it loading every file and querying). Due to the file size options like R, Python would be slower than unix commands. I can also save set of commands as script and share/run whenever I need it.

If there is a better way I would be happy to learn.

comment 12y ago · link · parent

When you have to deal with (genetic data) files of few GB on daily basis, I dont think using Python, R or databases is good idea to do basic data exploring.

-rwxr-x--- 1 29594528008 out_chr1comb.dose

-rwxr-x--- 1 27924241334 out_chr2comb.dose

-rwxr-x--- 1 25684164559 out_chr3comb.dose

-rwxr-x--- 1 24665680612 out_chr4comb.dose

-rwxr-x--- 1 21493584686 out_chr5comb.dose

-rwxr-x--- 1 23626967979 out_chr6comb.dose

-rwxr-x--- 1 20856136599 out_chr7comb.dose

-rwxr-x--- 1 18398180426 out_chr8comb.dose

-rwxr-x--- 1 15864714472 out_chr9comb.dose

comment 12y ago · link · parent

Thank you for inputs, how about this?

uniq -u movies.csv > temp.csv

temp.csv > movie.csv

rm temp.csv

7.

Useful Unix commands for exploring data(datavu.blogspot.com ↗)

343 points · by aks_c · 12y ago · 151 comments