Table Of Contents

Search

Enter search terms or a module, class or function name.

pandas.Series.to_frame

Series.to_frame(name=None)

Convert Series to DataFrame

Parameters:

name : object, default None

The passed name should substitute for the series name (if it has one).

Returns:

data_frame : DataFrame