Replace `_numpy_allclose` in `cf.aggregate` and remove
Nessuno ha ancora preso questa issue.
- Lingua principale
- Python
- Stelle
- 150
- Fork
- 23
- Merge medio
- 1g 11h
- PR unite (30g)
- 2
Descrizione
During discussion today we noted that _numpy_allclose will (after #254) no longer be required by the Data modules, being replaced by efficient Dask logic in a new function in dask_utils.
Since the only remaining usage of it is in the aggregate module, we should replace that one use with potentially consolidated or more specific logic based on the requirements in that context, then remove _numpy_allclose. Potentially Data.equals or similar could be used to achieve this, but it remains to be seen.
(Raising as an issue because we are focusing on the Data side, so this isn't priority.)
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Direzione di ricerca
Iniziate da _numpy_allclose in cf/functions.py e tracciatene l'uso rimanente nel modulo aggregate. Leggete i requisiti di aggregazione circostanti e la sostituzione di dask_utils a cui si fa riferimento, quindi confermate che la logica specifica del contesto funzioni e che _numpy_allclose non abbia più utilizzatori.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- data
- Tipo di issue
- Refactoring
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 42/100