Skip to content

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

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

[Autoloop] [Autoloop: build-tsb-pandas-typescript-migration]#110
github-actions[bot] wants to merge 6 commits intomainfrom
autoloop/build-tsb-pandas-typescript-migration-e4b25c82e1088449

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

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

Goal: Build tsb — a complete TypeScript port of pandas, one feature at a time.
Metric: pandas_features_ported (higher is better)
Current best: 34 (after iteration 196)

Steering Issue

See #107 for steering, priorities, and the full state file.

Recent iterations

  • Iter 196: Add where/mask — conditional value selection for Series and DataFrame (metric: 34)
  • Iter 195: Add replace — value substitution for Series and DataFrame (metric: 33)
  • Iter 194: Add astype — dtype coercion for Series and DataFrame (metric: 32)
  • Iter 193: Add idxmin/idxmax for Series and DataFrame (metric: 31)

Generated by Autoloop · ● 6.7M ·

github-actions Bot and others added 6 commits April 11, 2026 13:43
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