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

Support query

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

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
pandas, python
領域
data

調査の方向性

Start with the cf.where and cf.weighted entry points and the linked pandas DataFrame.query behavior. Define how string expressions and named masks should work for xarray objects, then verify that examples such as ds.cf.where('longitude > 0') and ds.cf.where('sea_binary_mask') behave as requested.

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

説明

enhancement

This is kind of inspired by the way we handle weights.
The weights must be DataArrays for xarray, but cf_xarray allows strings so we can do cf.weighted('volume').

How about introducing boolean expressions in cf.where similarly to pandas query?
That would allow to do ds.cf.where('longitude > 0') or ds.cf.where('sea_binary_mask').

主要言語
Python
スター
181
フォーク
51
平均マージ
6時間 39分
マージ済み PR(30日)
1

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

xarray-contrib/cf-xarray のほかの issue

xarray-contrib/cf-xarray の issue をすべて見る

似ている issue

Python の issue をもっと見る

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

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