We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2abe860 commit 705aa4aCopy full SHA for 705aa4a
1 file changed
pygmt/clib/session.py
@@ -1378,7 +1378,7 @@ def virtualfile_from_vectors(self, *vectors):
1378
# Assumes that first 2 columns contains coordinates like longitude
1379
# latitude, or datetime string types.
1380
for col, array in enumerate(arrays[2:]):
1381
- if pd.api.types.is_string_dtype(array.dtype):
+ if array.dtype.type == np.str_:
1382
columns = col + 2
1383
break
1384
0 commit comments