Skip to content

Error message when using Dataset.Tabular.register_pandas_dataframe #1497

@byronverz

Description

@byronverz

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    ADOIssue is documented on MSFT ADO for internal trackingMLOps

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions