Skip to content

Commit 48e525b

Browse files
seismanmichaelgrund
andcommitted
Fix typos
Co-authored-by: Michael Grund <[email protected]>
1 parent f18d17d commit 48e525b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

pygmt/clib/conversion.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -360,7 +360,7 @@ def _array_dtypes(array: Any) -> tuple[str, str]:
360360
Pandas objects) or "type" (for PyArrow objects) property to determine the dtype. If
361361
both of these properties are not found (e.g., a list), the dtype is set to an empty
362362
string. Then the function applies the np.ascontiguousarray function to the input
363-
object and determine the dtype of the converted np.ndarray object.
363+
object and determines the dtype of the converted np.ndarray object.
364364
365365
The function returns a tuple of the two dtypes. If the output dtype is "object", it
366366
means np.ascontiguousarray has failed to convert the input object to a NumPy dtype
@@ -370,7 +370,7 @@ def _array_dtypes(array: Any) -> tuple[str, str]:
370370
mapping from ``string`` to ``np.str_``).
371371
372372
This function is not used anywhere in the project. Instead, similar codes are used
373-
in the ``vectors_to_arrays`` function. This function is kept for understand the
373+
in the ``vectors_to_arrays`` function. This function is kept for understanding the
374374
dtype's string representation of different array-like objects and what dtype they
375375
are converted to by NumPy. This function is kept for understanding the dtype
376376
conversion process and for testing purposes, since some of the dtypes may change in

0 commit comments

Comments
 (0)