Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

FutureWarning: The frame.append method is deprecated and will be removed from pandas in a future version. Use pandas.concat instead.

# Create the new row as its own dataframe
df_new_row = pd.DataFrame({ 'a': [1], 'b': [2] })
df = pd.concat([df, df_new_row])
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #The #method #deprecated #removed #pandas #future #Use
ADD COMMENT
Topic
Name
2+4 =