Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Data types to support

Aperta
#26 12 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Da chiarire
Stato di attività
Ferma
Stack tecnologico
pandas, python
Ambito
data

Direzione di ricerca

Inizia leggendo la discussione in data-apis/array-api#15 e la documentazione collegata sui tipi di dati di Apache Arrow. Esamina i tipi obbligatori e opzionali elencati, inclusi categorical e datetime64, insieme alla issue separata sui dati mancanti #9. Il lavoro è completato quando i tipi di dati supportati dallo standard, opzionali e fuori ambito, nonché le aspettative per l’implementazione, sono stati decisi e documentati.

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

Descrizione

What data types should be part of the standard? For the array API, the types have been discussed here.

A good reference for data types for data frames is the Arrow data types documentation. The page probably contains many more types than the ones we want to support in the standard.

Topics to make decisions on:

  • Which data types should be supported by the standard?
  • Are implementation expected to provided extra data types? Should we have a list of optional types, or consider out of scope types not part of the standard?
  • Missing data is discussed separately in #9

These are IMO the main types (feel free to disagree):

  • boolean
  • int8 / uint8
  • int16 / uint16
  • int32 / uint32
  • int64 / uint64
  • float32
  • float64
  • string (I guess the main use cases is variable length strings, but should we consider fixed length strings?)
  • categorical (would make sense to have categorical8, categorical16,... for different representations of the categories with uint8, uint16...?)
  • datetime64 (requires discussion, pandas uses nanoseconds as unit since epoch, which can represent from years 1677 to 2262)

Some other types that could be considered:

  • decimal
  • python object
  • binary
  • date
  • time
  • timedelta
  • period
  • complex

And also types based on other types that could be considered:

  • date + timezone
  • numeric + unit
  • interval
  • struct
  • list
  • mapping
Lingua principale
Python
Stelle
106
Fork
22
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

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 data-apis/dataframe-api

Tutte le issue di data-apis/dataframe-api

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.