Skip to content

Commit 3e28b2d

Browse files
authored
Remove 'sorted' parameter from feature.many calls
1 parent 0158f3d commit 3e28b2d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

light-curve/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ lcs_arrow = pa.array(
187187
)
188188

189189
feature = lc.Extractor(lc.Kurtosis(), lc.Skew(), lc.ReducedChi2())
190-
result = feature.many(lcs_arrow, sorted=False, check=False, n_jobs=2)
190+
result = feature.many(lcs_arrow, check=False, n_jobs=2)
191191
print(f"Features: {feature.names}")
192192
print(f"Results shape: {result.shape}")
193193
```
@@ -218,7 +218,7 @@ df = pl.DataFrame({"object_id": object_id, "t": t, "m": m, "sigma": sigma})
218218
nested = df.group_by("object_id").agg(pl.struct("t", "m", "sigma").alias("lc"))
219219

220220
feature = lc.Extractor(lc.Amplitude(), lc.BeyondNStd(nstd=2), lc.LinearFit(), lc.StetsonK())
221-
result = feature.many(nested["lc"], sorted=False, check=False, n_jobs=1)
221+
result = feature.many(nested["lc"], check=False, n_jobs=1)
222222

223223
# Join feature columns back to the nested DataFrame
224224
nested = nested.with_columns(

0 commit comments

Comments
 (0)