dreji18 / Bio-Epidemiology-NER

Recognize bio-medical entities from a text corpus
115 stars 9 forks source link

DataFrame object has no attribute append #8

Closed karla-desouza closed 8 months ago

karla-desouza commented 1 year ago

When I try to run the example using the Python package, I get the following error:

AttributeError: 'DataFrame' object has no attribute 'append'

I think it is caused because append was removed from pandas and now we need to use concat instead.

dreji18 commented 1 year ago

Hi Karla, thanks for bringing this, Could you let me know the pandas version you are using,

also could you please check with pandas==1.5.3

karla-desouza commented 1 year ago

Hi Deepak, I'm using pandas==2.0.0. The example works perfectly with pandas==1.5.3. Thanks!

dreji18 commented 1 year ago

Thanks, Karla, I will update the code based on it, lemme know if you would like to contribute :)

karla-desouza commented 1 year ago

I'd love to. Please let me know how I can contribute!

dreji18 commented 1 year ago

Thanks Karla-I will post the code block in this repo, you can create a pull request and update the code for this issue.

karla-desouza commented 1 year ago

Hi @dreji18! Can you share the source code so that I can help fix this issue?

dreji18 commented 1 year ago

Hi @karla-desouza, please find the dev brach, you could do your changes and after testing let me know, I will take the build to the pypi

https://github.com/dreji18/Bio-Epidemiology-NER/tree/dev

karla-desouza commented 1 year ago

Hi @dreji18 , I made the changes, but when I try to push to dev I get a permission denied message.

dreji18 commented 1 year ago

Hi @karla-desouza , I have given the contributor access now, could you please try again.