pandas归一化

    0

    0

    John Don

    norm() calculates the standard deviation of a dataset, subtracting the mean from each series in the dataset.

    Library: pandas

    def norm(series):
      return (series - dataset_stats['mean']) / dataset_stats['std']
    Codiga Logo
    Codiga Hub
    • Rulesets
    • Playground
    • Snippets
    • Cookbooks
    soc-2 icon

    We are SOC-2 Compliance Certified

    G2 high performer medal

    Codiga – All rights reserved 2022.