def to_manager(sdf, columns, index):
<EOL>axes = [ensure_index(columns), ensure_index(index)]<EOL>return create_block_manager_from_arrays(<EOL>[sdf[c] for c in columns], columns, axes)<EOL>
create and return the block manager from a dataframe of series,
    columns, index