You can use the following basic syntax to convert a pandas Series to a pandas DataFrame: my_df = my_series.to_frame(name='column_name').
確定! 回上一頁