You can use the following syntax to get the first column of a pandas DataFrame: df.iloc[:, 0]. The result is a pandas Series.
確定! 回上一頁