Reformat output table so each city is listed once with years underneath

Aperta
#32 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
44/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
python
Ambito
backend

Direzione di ricerca

Find the code that passes in the sorting function and inspect how its output table is assembled. Implement the requested ordering: group by city or county, use each group's maximum relevancy score first, then sort by name and year. Done when each city or county appears together with its years underneath and the rows follow that order.

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

Descrizione

in the code there is a place where we are passing in a sorting function. Write a custom sorting key function that:

  1. Group by city/county
  2. Find max relevancy score for each city/county
  3. Sort first by this
  4. Second by city/county name
  5. Third by year
Lingua principale
Python
Stelle
2
Fork
4
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

  • Include un Dockerfile o un file Docker Compose
  • Nessun modello di pull request
  • Nessuna guida per i contributori

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 ucdavis/General-Plan-Map-Python

Tutte le issue di ucdavis/General-Plan-Map-Python

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.