bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

List out


From: Val Krem
Subject: List out
Date: Sun, 14 Feb 2016 00:25:46 +0000 (UTC)

Hi all,

I have a file (5000  rows and 65,000 columns). 


1. For each row I want find and count the number of missing variable 
represented by (NA) and then print out.
 
Sample data

1. fgh1  1 1 2 1 NA 2 2    

2. fgh2    1 1 2 1  NA 2 NA
3. fgh3    1 1 2 1  1 2 2 

4. fgh4  NA NA NA NA NA Na


Desired out put
1. fgh1    1 

2. fgh2  2 
3. fgh3    0 
4. fgh4  7

Thank you in advance


reply via email to

[Prev in Thread] Current Thread [Next in Thread]