我们如何确定合并中的axis和index_by?

我是数据分析和python的新手。我遇到了以下

df1.merge(df2,  on='cnpj',suffixes=('','_y')).drop('index_y',axis=1) 

for performing merge operations among the dataframes. I would like to know how the axis and index_y is determined?