Skip to content

Commit 3d91280

Browse files
committed
Added missing NavData attributes
1 parent a995590 commit 3d91280

1 file changed

Lines changed: 8 additions & 3 deletions

File tree

gnss_lib_py/parsers/navdata.py

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,16 +39,21 @@ class NavData():
3939
----------
4040
arr_dtype : numpy.dtype
4141
Type of values stored in data array
42+
orig_dtypes : pandas.core.series.Series
43+
Type of each original column if reading from a csv or Pandas
44+
dataframe.
4245
array : np.ndarray
4346
Array containing data, dimension M x N
4447
map : Dict
4548
Map of the form {pandas column name : array row number }
4649
str_map : Dict
4750
Map of the form {pandas column name : {array value : string}}.
4851
Map is of the form {pandas column name : {}} for non string rows.
49-
orig_dtypes : pandas.core.series.Series
50-
Type of each original column if reading from a csv or Pandas
51-
dataframe.
52+
num_cols : int
53+
Number of columns in array containing data, set to 0 by default
54+
for empty NavData
55+
curr_cols : int
56+
Current number of column for iterator, set to 0 by default
5257
5358
"""
5459
def __init__(self, csv_path=None, pandas_df=None, numpy_array=None,

0 commit comments

Comments
 (0)