-
df[0]
: Select data by column index (returns Series)
-
df[params int[] columnIndexs]
: Select data by column index (returns DataFrame)
-
df["column_label"]
: Select data by column label (returns Series); accessible set
accessor increase column (if the column label does not exist)
-
df[params string[] columnLabels]
: Select data by column label (returns DataFrame)
-
df.Column(string columnLabel, NDArray value)
: Set the column and its value; create when the column does not exist
-
df.Column(int columnIndex, NDArray value)
: Set the column and the value of the column; when the column does not exist, an exception is reported
-
df[Slice s]
: Row slice selection data
-
df.loc["index_label"]
: Select data by row index label
-
df.loc["index_label", "column_label"]
: Select data by row and column labels
-
df.iloc[0]
: Index by row (row number) select data