Skip to content

MAINT: fix typos in docstrings and comments - #9894

Merged
bashtage merged 1 commit into
statsmodels:mainfrom
maxtaran2010:fix-typos-in-source-files
Jul 8, 2026
Merged

bashtage merged 1 commit into
statsmodels:mainfrom
maxtaran2010:fix-typos-in-source-files

Conversation

@maxtaran2010

Copy link
Copy Markdown

Fix spelling mistakes found with codespell in core source files. No runtime behaviour is affected.

Changes:

  • statsmodels/conftest.py: intalled → installed
  • statsmodels/tools/sm_exceptions.py: sting → string
  • statsmodels/tools/rootfinding.py: wether → whether, boths → both
  • statsmodels/tools/tools.py: agument → argument, necesary → necessary
  • statsmodels/tools/sequences.py: enought → enough, parametr → parameter
  • statsmodels/compat/pandas.py: retuns → returns, verion → version
  • statsmodels/compat/pytest.py: compatability → compatibility
  • statsmodels/multivariate/manova.py: emtpy → empty
  • statsmodels/multivariate/multivariate_ols.py: emtpy → empty (two occurrences)
  • statsmodels/nonparametric/kde.py: Kernal → Kernel (in a journal reference)
  • statsmodels/discrete/diagnostic.py: probabilites → probabilities
  • statsmodels/robust/covariance.py: reproducability → reproducibility (×3), reproducable → reproducible

Fix spelling mistakes found with codespell:

- conftest.py: intalled -> installed
- tools/sm_exceptions.py: sting -> string
- tools/rootfinding.py: wether -> whether, boths -> both
- tools/tools.py: agument -> argument, necesary -> necessary
- tools/sequences.py: enought -> enough, parametr -> parameter
- compat/pandas.py: retuns -> returns, verion -> version
- compat/pytest.py: compatability -> compatibility
- multivariate/manova.py: emtpy -> empty
- multivariate/multivariate_ols.py: emtpy -> empty (x2)
- nonparametric/kde.py: Kernal -> Kernel
- discrete/diagnostic.py: probabilites -> probabilities
- robust/covariance.py: reproducability -> reproducibility (x3),
  reproducable -> reproducible

Co-Authored-By: Claude Sonnet 4.6 <[email protected]>
Copilot AI review requested due to automatic review settings July 8, 2026 09:11

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@Aniketsy Aniketsy left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@maxtaran2010 thanks , looks good 👍

@bashtage
bashtage merged commit 1dee69c into statsmodels:main Jul 8, 2026
1 of 2 checks passed
@bashtage

bashtage commented Jul 8, 2026

Copy link
Copy Markdown
Member

Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants