pandas README

README проекта с github.com/pandas-dev/pandas. Одним файлом markdown: README.md.

Pandas Logo

pandas: A Powerful Python Data Analysis Toolkit

Testing CI - Test Coverage
Package PyPI Latest Release PyPI Downloads Conda Latest Release Conda Downloads
Meta Powered by NumFOCUS DOI License - BSD 3-Clause Slack LFX Health Score OpenSSF Scorecard

What is it?

pandas is a Python package that provides fast, flexible, and expressive data structures designed to make working with "relational" or "labeled" data both easy and intuitive. It aims to be the fundamental high-level building block for doing practical, real-world data analysis in Python. Additionally, it has the broader goal of becoming the most powerful and flexible open-source data analysis/manipulation tool available in any language. It is already well on its way towards this goal.

Table of Contents

Main Features

Here are just a few of the things that pandas does well:

Where to get it

The source code is currently hosted on GitHub.

Binary installers for the latest released version are available at the Python Package Index (PyPI) and on conda-forge.

# conda
conda install -c conda-forge pandas
# or PyPI
pip install pandas

The list of changes to pandas between each release can be found in the release notes. For full details, see the GitHub commit logs.

Dependencies

See the full installation instructions for minimum supported versions of required, recommended and optional dependencies.

Installation from sources

See the full instructions for installing from source.

License

BSD 3

Documentation

The official documentation is hosted on pandas.pydata.org.

Background

Work on pandas started at AQR (a quantitative hedge fund) in 2008 and has been under active development by open source contributors since then.

Getting Help

For usage questions, the best place to go to is Stack Overflow. Further, general questions and discussions can also take place on the pydata mailing list.

Discussion and Development

Most development discussions take place in the GitHub issue tracker.

Further, the pandas-dev mailing list can also be used for specialized discussions or design issues, and a Slack channel is available for quick development related questions.

There are also frequent community meetings for project maintainers open to the community as well as monthly new contributor meetings to help support new contributors.

Additional information on the communication channels can be found on the contributor community page.

Contributing to pandas

All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome.

A detailed overview on how to contribute can be found in the contributing guide.

Feel free to ask questions on the forums described in the discussion and development section.

As contributors and maintainers to this project, you are expected to abide by pandas' contributor code of conduct.


Go to Top

pandas (pandas-dev/pandas)

Ищем в базе…

50.7K ·GitHub
Что это такое?pandas — это библиотека Python, которая предоставляет быстрые и гибкие структуры данных (Series и DataFrame) для работы с помеченными и табличными данными. Её цель — стать основным инструментом для практического анализа данных на Python.
Это фреймворк или просто библиотека, которую я импортирую?Это библиотека: вы импортируете pandas в свой код на Python и используете её объекты DataFrame и Series, а не отдельное приложение или фреймворк, вокруг которого строится проект.
Как добавить её в проект?Установите готовый релиз из PyPI с помощью pip или из Conda. Также можно собрать библиотеку из исходного кода из репозитория pandas, но для этого понадобится Cython помимо обычных зависимостей.
Что нужно pandas для работы?Ей нужны NumPy для операций с массивами, python-dateutil для расширенной работы с датой и временем и tzdata для данных о часовых поясах (tzdata обязательна только в Windows и Emscripten).
Хорошо ли она работает с пропущенными или неаккуратными данными?Да, в pandas есть встроенная обработка пропущенных данных (NaN, NA или NaT) как для данных с плавающей точкой, так и для остальных типов, а также выравнивание данных: несовпадающие индексы сопоставляются автоматически.
Какие операции с данными pandas делает простыми?Она поддерживает группировку по схеме «разбить — применить — объединить» (split-apply-combine), удобное слияние и объединение наборов данных, гибкое изменение формы таблиц и сводные таблицы, иерархическое (многоуровневое) индексирование, а также надёжный ввод-вывод для CSV, Excel, баз данных и сверхбыстрого формата HDF5.
Умеет ли pandas работать с временными рядами?Да, в ней есть функции для работы с временными рядами: генерация диапазонов дат, преобразование частоты, статистика по скользящим окнам и сдвиг дат.
Откуда появился pandas?Работа над pandas началась в 2008 году в AQR, количественном хедж-фонде, и с тех пор проект активно развивается.
Можно ли изменить размер DataFrame после создания?Да, pandas поддерживает изменяемый размер: после создания можно добавлять и удалять столбцы у DataFrame или у объектов большей размерности.
Какие есть похожие проекты?modin, pygwalker, polars, fg-data-profiling, visidata, pydata-book, spark, q
Автор
pandas-dev
Размер
417.5 MB
Звёзды
50.7K
Возраст
16 г
Коммиты · 90 дней