Skip to content

Commit f98258d

Browse files
Fix typos
Co-authored-by: Michael Grund <23025878+michaelgrund@users.noreply.github.com>
1 parent ec7d79c commit f98258d

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
@@ -394,7 +394,7 @@ def _array_dtypes(array: Any) -> tuple[str, str]:
394394
Pandas objects) or "type" (for PyArrow objects) property to determine the dtype. If
395395
both of these properties are not found (e.g., a list), the dtype is set to an empty
396396
string. Then the function applies the np.ascontiguousarray function to the input
397-
object and determine the dtype of the converted np.ndarray object.
397+
object and determines the dtype of the converted np.ndarray object.
398398
399399
The function returns a tuple of the two dtypes. If the output dtype is "object", it
400400
means np.ascontiguousarray has failed to convert the input object to a NumPy dtype
@@ -404,7 +404,7 @@ def _array_dtypes(array: Any) -> tuple[str, str]:
404404
mapping from ``string`` to ``np.str_``).
405405
406406
This function is not used anywhere in the project. Instead, similar codes are used
407-
in the ``vectors_to_arrays`` function. This function is kept for understand the
407+
in the ``vectors_to_arrays`` function. This function is kept for understanding the
408408
dtype's string representation of different array-like objects and what dtype they
409409
are converted to by NumPy. This function is kept for understanding the dtype
410410
conversion process and for testing purposes, since some of the dtypes may change in

0 commit comments

Comments
 (0)