Common Parameter Description
- Python functions written statement of the same global
- The following common parameters if not otherwise specified, be construed accordingly
DataFrame
-
axis=0/1/"index"/"columns"
- Meaning: action direction (axis)
- Default:
0/"index"
generally indicates the direction (line changes) row-wise
-
inplace=False/True
- Meaning: whether changes directly in the original object
- Default:
False
no change, return new DF objects (asTrue
no return value) - other
- Most df1.func () function has this type of argument
-
level=0/1/level_name...
- Meaning: the index level
- Default: default portion
0
(the top level) (the default is also the bottom level), it is sometimes given as the default value-
t
(Top): top level0
(only ideographic) -
b
(Bottom): the bottom level-1
(only ideographic) - The default value is
None
represented at all levels
-
Original: Big Box Pandas agreement