DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
pandas.core.series.series to dataframe
>>> s = pd.Series(["a", "b", "c"], ... name="vals") >>> s.to_frame() vals 0 a 1 b 2 c
Source by pandas.pydata.org #
PREVIOUS
NEXT
Tagged:
#dataframe
ADD COMMENT
Topic
COMMENT
Name
1+4 =
Submit