We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e24a6b6 commit fd833e3Copy full SHA for fd833e3
1 file changed
gnss_lib_py/parsers/navdata.py
@@ -277,7 +277,8 @@ def __getitem__(self, key_idx):
277
-------
278
arr_slice : np.ndarray
279
Array of data containing row names and time indexed
280
- columns. The return in squeezed meaning that all
+ columns. The return is squeezed meaning that all dimensions
281
+ of the output that are length of one are removed
282
"""
283
rows, cols = self._parse_key_idx(key_idx)
284
row_list, row_str = self._get_str_rows(rows)
@@ -294,7 +295,7 @@ def __getitem__(self, key_idx):
294
295
else:
296
arr_slice = self.array[rows, cols]
297
- # remove all dimensions of length 1
298
+ # remove all dimensions of length one
299
arr_slice = np.squeeze(arr_slice)
300
301
return arr_slice
0 commit comments