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

register_pandas_dataframe crashes kernel when receiving dataframe with multiple columns with same name

Aperta
#1,809 0 commenti 2 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
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
azure, jupyter-notebook, pandas, python

Direzione di ricerca

Inizia eseguendo l’esempio pandas DataFrame dell’issue con nomi di colonna duplicati e osserva l’uscita del kernel. Il payload identifica la fonte della documentazione di TabularDatasetFactory in AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.data.dataset_factory.tabulardatasetfactory.yml, ma non viene indicato alcun file di implementazione né alcun test. Il lavoro è completato quando il fallimento restituisce un feedback utile senza causare il crash dell’IPython kernel.

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

Descrizione

My Synapse kernel crashed when I tried to register a dataset where the dataframe had multiple columns with the same name. I am not completely sure if this is the correct place to post this, but this is the best place I could find.

Minimum reproducible example:

dataset = Dataset.Tabular.register_pandas_dataframe(
    dataframe = pd.DataFrame([[1,2],[1,2]], columns=['a', 'a']),
    target = datastore,
    name = "bad_dataframe",
    show_progress=True,
)

What I would expect:
To get some feedback about why it fails, and the kernel should not crash.

What I get:

Validating arguments.
Arguments validated.
Successfully obtained datastore reference and path.
Uploading file to managed-dataset/13e4b3c6-8730-4951-bde5-2d2bc6456e2d/
InternalError: Ipython kernel exits with code -11. Please restart your session.

Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

Lingua principale
Jupyter Notebook
Stelle
4.4k
Fork
2.6k
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

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 Azure/MachineLearningNotebooks

Tutte le issue di Azure/MachineLearningNotebooks

Issue simili

Altre issue su Data Engineering

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.