Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • ketos ketos
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 27
    • Issues 27
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • public_projects
  • ketosketos
  • Issues
  • #171

Closed
Open
Created Apr 20, 2022 by Oliver Kirsebom@kirsebomOwner

Issue in the Creating a database (Extended) tutorial

I am currently working on developing a classifier to recognize two resident killer whale stereotyped calls using Ketos. I am following the extremely helpful tutorials on the Ketos website, but I have run into an error that I believe has to do with an update to the pandas package that I am not able to resolve. I tried to submit this error via gitlab, but received a message when I tried to create an account that I needed administrator approval. I thought I would email you in the meantime as this is for a term project that is due soon.

In the Creating a database (Extended) tutorial, I am receiving an error message with this line of code:

negatives_train=sl.create_rndm_selections(annotations=std_annot_train, files=file_durations_train, length=3.0, num=len(positives_train), trim_table=True)

/Users/hannahmyers/opt/anaconda3/lib/python3.9/site-packages/ketos/data_handling/selection_table.py:1043: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead. df = df.append(z, ignore_index=True)

It would appear that the Jan 2022 pandas update made frame.append obsolete. Since frame.append is not in this line of code, I assume that it is used in the create_rndm_selections function in the Ketos package, though that may of course be incorrect. Is there a way I can resolve this from my end?

Thank you in advance for any thoughts you may have.

Best,

Hannah

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking