Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Long-form inputs: tables as bounds, coefficients, constants and rhs; relation group-by

オープン
#1,049 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

@FabianHofmann がすでに取り組んでいます。

2026年10月24日 から。

  • #1059 @FabianHofmann による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
python
領域
backend, data

調査の方向性

Read the conformance suite and linopy/csr.py:318 to understand from_grouper and how the store scatters repeated source rows onto the Grid. Then trace how bounds, coefficients, constants, and right-hand sides are converted into the current stores. Done when long-table inputs support broadcast missing keys, default= for unlisted cells, and relation group-by sums on both backends under the conformance suite.

索引モデルが issue の本文から書いたものです。

説明

refactor sparse

[!NOTE]
The following content was generated by AI.

Child of #1019 (step 5), after the conformance suite. Independent of the store protocol.

Problem

Inputs are N-dimensional arrays. A relation with several rows per source key (link port → bus) needs an incidence matrix and @. PyPSA moves to a long-form data model (datarecord).

Proposal
  • Accept bounds, coefficients, constants and right-hand sides as a long table: key columns plus one value column. A missing key column broadcasts over that dim; cells not listed take default=.
  • Group-by sums over relation tables go through from_grouper (linopy/csr.py:318) with repeated source rows, a scatter onto the Grid the store already does.
  • Inputs are converted to the current stores; no dependency on datarecord, narwhals or DuckDB types. Covered on both backends by the conformance suite.

Measurements and the deferred table-based key set are in #1019.

主要言語
Python
スター
262
フォーク
89
平均マージ
2日 5時間
マージ済み PR(30日)
36

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

PyPSA/linopy のほかの issue

PyPSA/linopy の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。