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