excel_data = pd.read_excel("test.xlsx")
method解析
add()方法:类似加法运算(相加的元素必须是同一对象的数据)
| add(self, other, axis='columns', level=None, fill_value=None) | Addition of dataframe and other, element-wise (binary operator `add`). | | Equivalent to ``dataframe + other``, but with support to substitute a fill_value for | missing data in one of the inputs. | | Parameters | ---------- | other : Series, DataFrame, or constant | axis : {0, 1, 'index', 'columns'} | For Series input, axis to match Series index on | level : int or name | Broadcast across a level, matching Index values on the | passed MultiIndex level | fill_value : None or float value, default None | Fill existing missing (NaN) values, and any new element needed for | successful DataFrame alignment, with this value before computation. | If data in both corresponding DataFrame locations is missing | the result will be missing