/
githubmirror
/
pandas
Обзор
Документация
Войти
/
githubmirror
/
pandas
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
doc/source/getting_started/comparison/includes/extract_substring.rst
7 строк
195 B
Aidan Feldman
DOC: remove use of head() in the comparison docs (#38935)
04 янв 2021, 16:21
Не верифицирован
04 янв 2021, 16:21
8b2ebdb
Код
Авторство
О чём код?
With pandas you can use ``[]`` notation to extract a substring from a string by position locations. Keep in mind that Python indexes are zero-based. .. ipython:: python tips["sex"].str[0:1]