Search
 
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
Name
1+4 =