Allow regex-based include/exclude filters on colums as well?

Aperta
#35 5 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
30/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
documentation

Direzione di ricerca

Inizia esaminando il comportamento esistente del filtraggio delle righe e l’opzione included_cols descritta nell’issue. Definisci come l’inclusione e l’esclusione delle colonne basate su regex debbano interagire con il filtraggio delle righe, quindi verifica che le tabelle possano essere filtrate facendo corrispondere etichette di colonna come condition1 e condition2.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement help wanted

First off, thanks for this plugin. It's very helpful for the current issues I'm facing in documenting some matrices in sphinx.

I've had to adapt your plugin in order for it to be useable for me though. In my use case, I have the same labels in the header row (column 0) as in the row 0, something like this:

image

Now, I'd like to be able to filter this table, for example by showing only "condition1" and "condition2", so the filter needs to be applied both to the rows as to the columns, based on a regex (the included_cols option is not useable as the indices are not known beforehand)

I have a quick-and-dirty solution for this ready that works fine for my use case, but I'm wondering it this is something that you would accept to include as a feature in the main project as well. If so, I can make a proposal for what the configuration could look like

Lingua principale
Python
Stelle
9
Fork
5
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di crate/sphinx-csv-filter

Tutte le issue di crate/sphinx-csv-filter

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.