Azure / Azure/MachineLearningNotebooks
register_pandas_dataframe() cannot register with complex data types
- Ngôn ngữ chính
- Jupyter Notebook
- Star
- 4.4k
- Fork
- 2.6k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Mô tả
When using the `register_pandas_dataframe()` method from the TabularDatasetFactory, I am getting an error
```
UserErrorException: UserErrorException:
Message: Cannot register pandas dataframes with columns containing complex data types. Encountered column with type:
InnerException None
ErrorResponse
{
"error": {
"code": "UserError",
"message": "Cannot register pandas dataframes with columns containing complex data types. Encountered column with type: "
}
```
I can see why I am getting this error, but what's very frustrating is on the [documentation page](https://stackoverflow.com/questions/71919389/azureml-tabulardataset-to-pandas-dataframe-returns-invalidencoding-error) and on the [user guide](https://stackoverflow.com/questions/71919389/azureml-tabulardataset-to-pandas-dataframe-returns-invalidencoding-error), nowhere does is show that some datatypes are not supported (like a numpy array).
A small table in the documentation showing unsupported datatypes would greatly benefit the user.
---
#### 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-from-json-lines-files)
* 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**
Hướng dẫn đóng góp
Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này
Hướng nghiên cứu
Bắt đầu với trang tham chiếu của TabularDatasetFactory và nguồn nội dung của trang đó, AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.data.dataset_factory.TabularDatasetFactory.yml. Xem lại tài liệu của register_pandas_dataframe() và thêm một bảng nhỏ mô tả các kiểu dữ liệu không được hỗ trợ, bao gồm các trường hợp được báo cáo trong issue. Công việc được hoàn tất khi tài liệu tham chiếu đã xuất bản giải thích rõ những kiểu nào không thể được đăng ký.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- azure, pandas, python
- Lĩnh vực
- documentation, machine-learning
- Loại issue
- Tài liệu
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức phù hợp với người mới
- 52/100