peppy icon indicating copy to clipboard operation
peppy copied to clipboard

Pandas frame.append method is deprecated

Open matinnuhamunada opened this issue 2 years ago • 2 comments

Hi, thanks for the nice tool here :)

When running peppy.Project(project_config_file), I keep getting this warning:

/home/matinnu/miniconda3/envs/snakemake/lib/python3.10/site-packages/peppy/project.py:103: FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.
  df = df.append(ser, ignore_index=True)

This is how the config file looks like:

name: example2
pep_version: 2.0.0
description: "test_project"
sample_table: samples.csv
prokka-db: prokka-db.csv
gtdb-tax: gtdbtk.bac120.summary.tsv
output_dir: "$HOME/test"

This does not throw an error, but might be something to be addressed in the long run?

matinnuhamunada avatar Sep 08 '22 11:09 matinnuhamunada

@nsheff @Khoroshevskyi it looks like this has been fixed?

vreuter avatar Feb 03 '23 15:02 vreuter

I am not sure if it was fixed, but also I can't see pandas append function used anywhere. So I it's probably fixed.

khoroshevskyi avatar Feb 03 '23 19:02 khoroshevskyi

This issue was solved in previous major release

khoroshevskyi avatar Jul 12 '24 16:07 khoroshevskyi