Skip to content

edit_dataset function not working #1331

Open

Description

@prithagupta

Description

The edit_dataset function is also not working:

Steps/Code to Reproduce

Example:

import openml
YOUR_API_KEY = 'REMOVED'
USER_ID = "2086"
openml.config.apikey = YOUR_API_KEY
filtered_datasets = [dataset_id for dataset_id, dataset in datasets.items() if dataset['uploader'] == USER_ID]
for data_id in filtered_datasets:
    new_creator = "Jan Peter Drees and Dennis Funke"  # Replace with the new creator name

    # Update the dataset metadata
    data_id = openml.datasets.edit_dataset(data_id=data_id, creator=new_creator)
    dataset =  openml.datasets.get_dataset(data_id)
    print(dataset.creator)

Expected Results

Jan Peter Drees and Dennis Funke

Actual Results

Jan Drees and Dennis Funke

Versions

Please run the following snippet and paste the output below.
Linux-4.15.0-213-generic-x86_64-with-glibc2.17
Python 3.8.12 (default, Oct 12 2021, 13:49:34)
[GCC 7.5.0]
NumPy 1.22.4
SciPy 1.10.1
Scikit-Learn 1.1.1
OpenML 0.13.1

Activity

  1. PGijsbers commented on Oct 14, 2024

    @PGijsbers
    Member

    @eddiebergman @LennartPurucker Should check if this is still a bug in the latest release.

  2. added this to the 0.16.0 milestone on Oct 14, 2024
  3. staru09 commented on Nov 14, 2025

    @staru09

    Would love to take this one.

  4. ishan0803 commented on Nov 15, 2025

    @ishan0803

    Issue is already solved in the latest versions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions