Skip to content

Commit 0b51172

Browse files
committed
Correct comment
1 parent 0168aad commit 0b51172

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pandas/core/sorting.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def nargsort(items, kind='quicksort', ascending=True, na_position='last'):
258258
and is_extension_array_dtype(items)):
259259

260260
if is_sparse(items):
261-
# The conversion to np.ndarray is the fact that
261+
# The conversion to np.ndarray is due to the fact that
262262
# SparseArray.isna() is also a SparseArray
263263
mask = np.array(isna(items))
264264

0 commit comments

Comments
 (0)