Skip to content

Commit fd833e3

Browse files
committed
squeeze doc changes
1 parent e24a6b6 commit fd833e3

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

gnss_lib_py/parsers/navdata.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,7 +277,8 @@ def __getitem__(self, key_idx):
277277
-------
278278
arr_slice : np.ndarray
279279
Array of data containing row names and time indexed
280-
columns. The return in squeezed meaning that all
280+
columns. The return is squeezed meaning that all dimensions
281+
of the output that are length of one are removed
281282
"""
282283
rows, cols = self._parse_key_idx(key_idx)
283284
row_list, row_str = self._get_str_rows(rows)
@@ -294,7 +295,7 @@ def __getitem__(self, key_idx):
294295
else:
295296
arr_slice = self.array[rows, cols]
296297

297-
# remove all dimensions of length 1
298+
# remove all dimensions of length one
298299
arr_slice = np.squeeze(arr_slice)
299300

300301
return arr_slice

0 commit comments

Comments
 (0)