Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

pandas from series to dataframe

#To convert a series to a dataframe simply apply the to_frame() method
#to the series
s.to_frame() 
 
PREVIOUS NEXT
Tagged: #pandas #series #dataframe
ADD COMMENT
Topic
Name
7+5 =