TNO Intern

Commit 6b9eeba2 authored by Arjo Segers's avatar Arjo Segers
Browse files

Updated call to pandas method after deprication warning.

parent ca353ec5
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -4,6 +4,9 @@
# 2022-09, Arjo Segers
#   Updated documentation.
#
# 2023-06, Arjo Segers
#   Use "pandas.concat()" instead of "df.append()" to avoid warnings.
#

########################################################################
###
@@ -502,7 +505,7 @@ class CSO_SciHub_Inquire( utopya.UtopyaRc ) :
                        'filename'            : [filename],
                        'href'                : [href] }
                # add record:
                output_df = output_df.append( pandas.DataFrame(rec), ignore_index=True )
                output_df = pandas.concat( (output_df,pandas.DataFrame(rec)), ignore_index=True )

            #endfor # entries