Skip to content

[Autoloop] [Autoloop: build-tsb-pandas-typescript-migration]#101

Closed
github-actions[bot] wants to merge 3 commits intomainfrom
autoloop/build-tsb-pandas-typescript-migration-d2bb592ca29a443c
Closed

[Autoloop] [Autoloop: build-tsb-pandas-typescript-migration]#101
github-actions[bot] wants to merge 3 commits intomainfrom
autoloop/build-tsb-pandas-typescript-migration-d2bb592ca29a443c

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

🤖 This PR is maintained by Autoloop. Each accepted iteration adds a commit to this branch.

Autoloop: build-tsb-pandas-typescript-migration

Goal: Build tsb — a complete TypeScript port of pandas, one feature at a time.

Current best metric: 31 pandas_features_ported (higher is better)

Branch: autoloop/build-tsb-pandas-typescript-migration

Source Issue: #1

Recent Changes

  • Iteration 184: Add where/maskwhereSeries, maskSeries, whereDataFrame, maskDataFrame with array/Series/callable conditions. Mirrors pandas.Series.where(), pandas.Series.mask(), pandas.DataFrame.where(), and pandas.DataFrame.mask().
  • Iteration 174: Add pct_changepctChangeSeries/pctChangeDataFrame with periods, fillMethod, limit, axis.
  • Iteration 172: Add na_opsisna/notna/ffill/bfill utilities.

See the experiment log issue for full iteration history.

Generated by Autoloop · ● 11.4M ·

github-actions Bot and others added 3 commits April 11, 2026 07:01
Implements pandas missing-value utilities as standalone exported functions:
- `isna` / `notna` / `isnull` / `notnull` — detect missing values in
  scalars, Series, and DataFrames (mirrors pd.isna / pd.notna)
- `ffillSeries` / `bfillSeries` — forward/backward fill for Series with
  optional `limit` parameter
- `dataFrameFfill` / `dataFrameBfill` — column-wise or row-wise fill for
  DataFrames with optional `limit` and `axis` parameters

Metric: 28 → 29 pandas_features_ported

Run: https://github.com/githubnext/tsessebe/actions/runs/24263385922

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Implements pctChangeSeries() and pctChangeDataFrame() mirroring
pandas.Series.pct_change() / pandas.DataFrame.pct_change().

- periods: configurable lag (positive = backward, negative = forward)
- fillMethod: "pad" (default), "bfill", or null (no fill)
- limit: cap consecutive fills
- axis: column-wise (default) or row-wise for DataFrame

Full test coverage: unit tests, edge cases, and fast-check property tests.
Interactive playground page at playground/pct_change.html.

Run: https://github.com/githubnext/tsessebe/actions/runs/24266545401
@mrjf
Copy link
Copy Markdown
Contributor

mrjf commented Apr 17, 2026

Closing — superseded by #120 (the most complete migration PR).

@mrjf mrjf closed this Apr 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant