Skip to content

Commit 5c64c97

Browse files
authored
Fix
1 parent cee5347 commit 5c64c97

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pygmt/datatypes/dataset.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,7 +239,7 @@ def to_pandas(
239239
1 4.0 5.0 6.0 TEXT4 TEXT567
240240
2 7.0 8.0 9.0 TEXT8 TEXT90
241241
3 10.0 11.0 12.0 TEXT123 TEXT456789
242-
>>> df.dtypes.to_list()[0:3]
242+
>>> df.dtypes.to_list()[:3]
243243
[dtype('float64'), dtype('float64'), dtype('float64')]
244244
>>> df.dtypes["colstr"].name
245245
'string'

0 commit comments

Comments
 (0)