728x90
# import pandas as pd
import pandas as pd
# list of strings
lst = ['Geeks', 'For', 'Geeks', 'is',
'portal', 'for', 'Geeks']
# Calling DataFrame constructor on list
df = pd.DataFrame(lst)
df
728x90
'Python' 카테고리의 다른 글
unsupported operand type(s) for -: 'float' and 'decimal.Decimal' (1) | 2021.01.30 |
---|---|
nan can not be used with MySQL (0) | 2021.01.27 |
python 초 단위 loop (0) | 2021.01.27 |
UPBIT QUERYSTRING 날짜 형식 (0) | 2021.01.27 |
not all arguments converted during string formatting (0) | 2021.01.26 |