DataFile.count¶
- DataFile.count(value=None, axis=0, col=None)¶
Count the number of un-masked elements in the
DataFile
.- Keywords:
- valiue (float):
Value to count for
- axis (int):
Which axis to count the unmasked elements along.
- col (index, None):
Restrict to counting in a specific column. If left None, then the current ‘y’ column is used.
- Returns:
(int) – Number of unmasked elements.