# pandas-dev/pandas SLOC report

> As of 2026-10-07 (commit 40a2ea39f543), pandas-dev/pandas contains 354,825 total lines: 299,899 code, 20,998 comments, 33,928 blank, across 461 files in 11 languages (top: Python 79.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

pandas-dev/pandas has 299,899 source lines of code out of 354,825 total lines across 461 files, counted from the main ref at commit 40a2ea39f543 by the OctoCounts tokei engine on 2026-10-07. The report is cached by commit, tokei version, and analysis options, so recounting the same revision returns exactly these numbers.

OctoCounts produced this report by resolving pandas-dev/pandas to commit 40a2ea39f543, downloading the repository source archive, and counting every source file with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

This is a large codebase by counted code lines. Code represents 84.5% of all lines, comments represent 5.9%, and the repository averages 651 code lines per file. Python accounts for 79.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Python | 339 | 278,397 | 239,159 | 14,494 | 24,744 |
| Cython | 65 | 55,986 | 45,305 | 3,838 | 6,843 |
| C | 11 | 8,395 | 6,496 | 955 | 944 |
| Autoconf | 8 | 3,872 | 3,047 | 239 | 586 |
| C++ | 5 | 2,754 | 2,320 | 272 | 162 |
| C Header | 13 | 3,124 | 1,900 | 812 | 412 |
| TOML | 1 | 725 | 549 | 142 | 34 |
| Meson | 8 | 565 | 479 | 38 | 48 |
| C++ Header | 1 | 490 | 386 | 20 | 84 |
| Pan | 8 | 273 | 258 | 2 | 13 |
| Markdown | 2 | 244 | 0 | 186 | 58 |

Top language (Python 79.7%). Generated at 2026-10-07T21:05:22.515140546+00:00. Canonical report: https://octocounts.com/github/pandas-dev/pandas

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/pandas-dev/pandas/commit/40a2ea39f54320a50ca7902002e0e74f5bc24c9c?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D).

## Report FAQ

### How many lines of code does pandas-dev/pandas have?

pandas-dev/pandas has 354,825 total lines, including 299,899 code lines, 20,998 comment lines, and 33,928 blank lines.

### How was the pandas-dev/pandas line count measured?

OctoCounts resolved the public GitHub repository to commit 40a2ea39f543, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for pandas-dev/pandas?

This OctoCounts report was generated from main at commit 40a2ea39f543 on 2026-10-07T21:05:22.515140546+00:00.

## Similar repository reports

- [angr/angr](https://octocounts.com/github/angr/angr) — Python, 299,390 code lines
- [run-llama/llama_index](https://octocounts.com/github/run-llama/llama_index) — Python, 307,295 code lines
- [vicoa-ai/vicoa](https://octocounts.com/github/vicoa-ai/vicoa) — Python, 291,458 code lines
- [imbad0202/academic-research-skills](https://octocounts.com/github/imbad0202/academic-research-skills) — Python, 290,865 code lines
- [Imbad0202/academic-research-skills](https://octocounts.com/github/Imbad0202/academic-research-skills) — Python, 289,738 code lines
- [saleor/saleor](https://octocounts.com/github/saleor/saleor) — Python, 288,568 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [TensorFlow vs PyTorch](https://octocounts.com/compare/tensorflow-vs-pytorch)
- [Django vs Ruby on Rails](https://octocounts.com/compare/django-vs-rails)
- [Laravel vs Django](https://octocounts.com/compare/laravel-vs-django)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
