##白ワインの分析の課題の中で軽く困っていること
リストのindex番号はlist.index('hoge')
で取得できるかと思いますが、それと同じような感じであるDataFrameのColumnsを取得した結果である
Index(['fixed acidity', 'volatile acidity', 'citric acid', 'residual sugar', 'chlorides', 'free sulfur dioxide', 'total sulfur dioxide', 'density', 'pH', 'sulphates', 'alcohol', 'quality', 'high quality or not'], dtype='object')
に対し'fixed acidity'
のindex番号(すなわち0)を取得する方法はありますか?
回答1件
あなたの回答
tips
プレビュー