Cells.to_frame#

Cells.to_frame(*args)[source]#

Convert the cells itself into a Pandas DataFrame and return it.

if no args are passed, the returned DataFrame contains as many values as the cells have.

if A sequence of arguments to the cells is passed as args, the returned DataFrame contains values only for the specified args.

Parameters:

args – A sequence or iterable of arguments to the cells.

Returns:

a DataFrame with a column named after the cells, with indexes named after the parameters of the cells.