Skip to content

Commit a9635b5

Browse files
committed
Improve docstrings for tests
1 parent 6ae1ddb commit a9635b5

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

pygmt/tests/test_clib_to_numpy.py

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,27 @@ def test_to_numpy_ndarray_numpy_dtypes_numeric(dtype, supported):
9292
# 2. pandas dtypes
9393
# 3. PyArrow dtypes
9494
#
95-
# Reference: https://pandas.pydata.org/docs/reference/arrays.html
95+
# pandas provides following dtypes:
96+
#
97+
# - Numeric dtypes:
98+
# - Int8, Int16, Int32, Int64
99+
# - UInt8, UInt16, UInt32, UInt64
100+
# - Float32, Float64
101+
# - DatetimeTZDtype
102+
# - PeriodDtype
103+
# - IntervalDtype
104+
# - StringDtype
105+
# - CategoricalDtype
106+
# - SparseDtype
107+
# - BooleanDtype
108+
# - ArrowDtype
109+
#
110+
# ArrowDtype is a special dtype that is used to store data in the PyArrow format.
111+
#
112+
# References:
113+
# 1. https://pandas.pydata.org/docs/reference/arrays.html
114+
# 2. https://pandas.pydata.org/docs/user_guide/basics.html#basics-dtypes
115+
# 3. https://pandas.pydata.org/docs/user_guide/pyarrow.html
96116
########################################################################################
97117
@pytest.mark.parametrize(
98118
("dtype", "supported"),

0 commit comments

Comments
 (0)