Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

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

Đang mở
#1,809 0 bình luận 2 reaction 0 người được giao Xem trên GitHub

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
30/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Công nghệ
azure, jupyter-notebook, pandas, python
Lĩnh vực
data, machine-learning

Hướng nghiên cứu

Bắt đầu bằng cách chạy ví dụ pandas DataFrame từ issue với các tên cột trùng lặp và quan sát kernel thoát. Payload xác định nguồn tài liệu của TabularDatasetFactory tại AzureML-Docset/stable/docs-ref-autogen/azureml-core/azureml.data.dataset_factory.tabulardatasetfactory.yml, nhưng không nêu tệp triển khai hoặc bài kiểm thử nào. Được xem là hoàn tất khi lỗi trả về phản hồi hữu ích mà không làm IPython kernel bị crash.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

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

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

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của Azure/MachineLearningNotebooks

Tất cả issue của Azure/MachineLearningNotebooks

Issue tương tự

Thêm issue về Data Engineering

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.