Aug-12-2020, 12:58 AM
.iloc
selector should work directly, e.g. X = df.iloc[:, inds]
, where inds
is expected to be a list of column numbers, e.g. inds = [1, 3, 4]
.
Adapting a dataframe to the some of columns
|
|
Messages In This Thread |
Adapting a dataframe to the some of columns - by flyway - Aug-11-2020, 05:55 PM
RE: Adapting a dataframe to the some of columns - by scidam - Aug-12-2020, 12:58 AM
RE: Adapting a dataframe to the some of columns - by flyway - Aug-12-2020, 07:21 AM
|