Skip to content

Commit a827f3e

Browse files
committed
revisions from code review
1 parent 223e77a commit a827f3e

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

arkouda/pandas/extension/_series_accessor.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -387,7 +387,8 @@ def locate(self, key: object) -> pd.Series:
387387
-------
388388
pd.Series
389389
A pandas Series backed by Arkouda ExtensionArrays containing the located
390-
values. The returned Series remains distributed (no NumPy materialization).
390+
values. The returned Series remains distributed (no NumPy materialization)
391+
and is sorted by index.
391392
392393
Notes
393394
-----
@@ -417,7 +418,7 @@ def locate(self, key: object) -> pd.Series:
417418

418419
out_ak = aks.locate(key)
419420

420-
# Wrap result into an Arkouda-backed pandas Series without materializing
421+
# Wrap result into an Arkouda-backed pandas Series
421422
# (keep the returned index/name from the legacy result).
422423
idx = ArkoudaIndexAccessor(out_ak.index.to_pandas()).to_ak() # preserve names/levels
423424
return _ak_array_to_pandas_series(out_ak.values, name=out_ak.name).set_axis(idx)

tests/pandas/extension/series_accessor.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ def _assert_series_equal_values(s: pd.Series, values):
2020

2121

2222
class TestArkoudaSeriesAccessor:
23-
@pytest.mark.requires_chapel_module("in1dMsg")
23+
@pytest.mark.requires_chapel_module("In1dMsg")
2424
def test_series_accessor_docstrings(self):
2525
import doctest
2626

0 commit comments

Comments
 (0)