Skip to content

Add parameter of bias or ddof to DataFrame.skew() #54556

Open
@Alain-Godo

Description

@Alain-Godo

Feature Type

  • Adding new functionality to pandas

  • Changing existing functionality in pandas

  • Removing existing functionality in pandas

Problem Description

I wish to pass an argument to the skew calculation method like (ddof or bias) that allows calculation of the skew of a population instead of a sample (default).

Feature Description

Example:

df.skew(bias=True)

Note: I think it can be implemented using the kwargs of the method _stat_function or _stat_function_ddof

Alternative Solutions

Using scipy.stats.skew(df, bias=True) is an alternative, but it's better if the method of pandas can handle it.

Additional Context

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions