Functions | Variables
diagnostic_analysis.sparse Namespace Reference

Functions

def make_sparse_length (csv_file, length)
 Makes sparse CSV with the given number of rows. More...
 
def make_sparse_skip (csv_file, skip)
 Makes sparse CSV by skipping every nth value. More...
 

Variables

string PKG = 'diagnostic_analysis'
 Make CSV files smaller for use in spreadsheet software. More...
 

Function Documentation

◆ make_sparse_length()

def diagnostic_analysis.sparse.make_sparse_length (   csv_file,
  length 
)

Makes sparse CSV with the given number of rows.

Parameters
csv_filestr : CSV filename
lengthint : Desired number of rows in CSV
Returns
Path of output file

Definition at line 70 of file sparse.py.

◆ make_sparse_skip()

def diagnostic_analysis.sparse.make_sparse_skip (   csv_file,
  skip 
)

Makes sparse CSV by skipping every nth value.

Parameters
csv_filestr : CSV filename
skipint : Write every nth row to sparse CSV
Returns
Path of output file

Definition at line 48 of file sparse.py.

Variable Documentation

◆ PKG

string diagnostic_analysis.sparse.PKG = 'diagnostic_analysis'

Make CSV files smaller for use in spreadsheet software.

Author
Kevin Watts

Definition at line 38 of file sparse.py.



diagnostic_analysis
Author(s): Kevin Watts, Brice Rebsamen , Eric Berger, Kevin Watts
autogenerated on Mon Feb 28 2022 22:18:15