Skip to content

Commit

Permalink
Improve docstrings for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Nov 6, 2024
1 parent 6ae1ddb commit a9635b5
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion pygmt/tests/test_clib_to_numpy.py
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,27 @@ def test_to_numpy_ndarray_numpy_dtypes_numeric(dtype, supported):
# 2. pandas dtypes
# 3. PyArrow dtypes
#
# Reference: https://pandas.pydata.org/docs/reference/arrays.html
# pandas provides following dtypes:
#
# - Numeric dtypes:
# - Int8, Int16, Int32, Int64
# - UInt8, UInt16, UInt32, UInt64
# - Float32, Float64
# - DatetimeTZDtype
# - PeriodDtype
# - IntervalDtype
# - StringDtype
# - CategoricalDtype
# - SparseDtype
# - BooleanDtype
# - ArrowDtype
#
# ArrowDtype is a special dtype that is used to store data in the PyArrow format.
#
# References:
# 1. https://pandas.pydata.org/docs/reference/arrays.html
# 2. https://pandas.pydata.org/docs/user_guide/basics.html#basics-dtypes
# 3. https://pandas.pydata.org/docs/user_guide/pyarrow.html
########################################################################################
@pytest.mark.parametrize(
("dtype", "supported"),
Expand Down

0 comments on commit a9635b5

Please sign in to comment.