Pandas removed DataFrame.append and the squeeze parameter from pd.read_csv as of v2.0 (source). Consequently, the methods get-all and get-ids-from-query both fail with the current minimal conda installation instructions (using q2-fondue from the channel "https://packages.qiime2.org/qiime2/2023.2/tested/" and pandas v2.0.3).
The following error occurs when running get-all:
AttributeError: 'DataFrame' object has no attribute 'append'
And when running get-ids-from-query this error occurs:
TypeError: read_csv() got an unexpected keyword argument 'squeeze'
Note: When using q2-fondue from the channels "2023.5/tested" or "2023.7/tested" pandas v1.5.3 is installed and no errors are raised.
Suggested fix:
To make q2-fondue forward compatible with pandas v2.0 and still usable with pandas version <2.0:
Pandas removed
DataFrame.append
and thesqueeze
parameter frompd.read_csv
as of v2.0 (source). Consequently, the methodsget-all
andget-ids-from-query
both fail with the current minimal conda installation instructions (using q2-fondue from the channel "https://packages.qiime2.org/qiime2/2023.2/tested/" and pandas v2.0.3).The following error occurs when running
get-all
:And when running
get-ids-from-query
this error occurs:Note: When using q2-fondue from the channels "2023.5/tested" or "2023.7/tested" pandas v1.5.3 is installed and no errors are raised.
Suggested fix: To make q2-fondue forward compatible with pandas v2.0 and still usable with pandas version <2.0:
.append()
with recommended.concat()