Pandas agreement

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: Falseno change, return new DF objects (as Trueno 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 level 0(only ideographic)
      • b(Bottom): the bottom level -1(only ideographic)
      • The default value is Nonerepresented at all levels

Original: Big Box  Pandas agreement


Guess you like

Origin www.cnblogs.com/petewell/p/11422064.html