Azure / Azure/MachineLearningNotebooks

Error message when using Dataset.Tabular.register_pandas_dataframe

Abierto
#1,497 0 comentarios 0 reacciones 0 asignados Ver en GitHub
ADO MLOps
Lenguaje dominante
Jupyter Notebook
Estrellas
4.4k
Forks
2.6k
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

I am getting an error when trying to upload and register a pandas dataframe using the experimental method from my local machine using the azureml SDK.

```
Dataset.Tabular.register_pandas_dataframe(dataframe=df,
target=ds,
name=name,
description=description,
tags=tags,
show_progress=True)
```
Where `ds` is the workspace default datastore, `df` is a pandas dataframe and tags is a key value pair dict.

![image](https://user-images.githubusercontent.com/43368102/120325596-1a0a0e80-c2e8-11eb-855f-5b6b9eb17369.png)

This does work through a jupyter notebook, however, when executing the code from a script it fails. I have never seen this before and couldn't find anything online or in the documentation.

AzureML SDK version: 1.27.0
Pandas version: 1.2.0

---
#### Document Details

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

* ID: 9b1aee32-5a1f-2ef1-ee76-30b17999db87
* Version Independent ID: f4785272-a81d-e9cc-c6a5-9d41c8dcd90b
* Content: [azureml.data.dataset_factory.TabularDatasetFactory class - Azure Machine Learning Python](https://docs.microsoft.com/en-us/python/api/azureml-core/azureml.data.dataset_factory.tabulardatasetfactory?view=azure-ml-py#azureml_data_dataset_factory_TabularDatasetFactory_register_pandas_dataframe)
* Content Source: [AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.data.dataset_factory.TabularDatasetFactory.yml](https://github.com/MicrosoftDocs/MachineLearning-Python-pr/blob/live/AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.data.dataset_factory.TabularDatasetFactory.yml)
* Service: **machine-learning**
* Sub-service: **core**
* GitHub Login: @DebFro
* Microsoft Alias: **debfro**

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Start with the Dataset.Tabular.register_pandas_dataframe call shown in the report and compare its behavior when run from a script versus a Jupyter notebook using AzureML SDK 1.27.0 and pandas 1.2.0. Capture the error shown in the attached image, reproduce the difference, and document or correct the script execution path so registration has a defined result.

Escrito por el modelo de indexación a partir del texto del issue.

Evaluación

Stack tecnológico
azure, pandas, python
Área
data, machine-learning
Tipo de issue
Error
Dificultad
4/5
Tiempo estimado
3-5 días
Estado de actividad
Estancado
Claridad
Necesita aclaración
Aptitud para principiantes
25/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.