/
githubmirror
/
pandas
Обзор
Документация
Войти
/
githubmirror
/
pandas
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
doc/source/getting_started/comparison/includes/construct_dataframe.rst
9 строк
309 B
Aidan Feldman
DOC: create shared includes for content shared by comparison docs (#38887)
03 янв 2021, 20:26
Не верифицирован
03 янв 2021, 20:26
28b938d
Код
Авторство
О чём код?
A pandas ``DataFrame`` can be constructed in many different ways, but for a small number of values, it is often convenient to specify it as a Python dictionary, where the keys are the column names and the values are the data. .. ipython:: python df = pd.DataFrame({"x": [1, 3, 5], "y": [2, 4, 6]}) df