Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add method to move files between tables

Open
#83 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
45/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
data

Research direction

Start with the table API used by pick_files(), drop_files(), update(), and split_id in the issue example. Define the move operation around those existing behaviors, including the stated matching-column requirement, and verify that the listed files end up in the destination table and are removed from the source.

Written by the indexing model from the issue text.

Description

documentation enhancement

Let's say you would like to move a list of files from an existing train table to an existing test table.
The easiest solution I found so far would be:

db['tmp'] = db['train'].pick_files(files)
db['tmp'].split_id = db['test'].split_id
db['train'].drop_files(files, inplace=True)
db['test'].update(db['tmp'])
db.drop_tables('tmp')

so it might be easier to have something like:

db['test'].move_files(db['train'], files)

Of course it will only work if your columns match, but the same is true for update().

Dominant language
Python
Stars
13
Forks
2
Avg merge
6d 12h
Merged PRs (30d)
4

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from audeering/audformat

All issues in audeering/audformat

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.