From 588a8aa78492cd21dfd1fd7d79b1d543a4dcb5cd Mon Sep 17 00:00:00 2001 From: Ayush Raj Date: Tue, 21 Feb 2023 23:59:23 +0530 Subject: [PATCH] expermineting sir sorry to hurt you --- sklearn_pandas/cross_validation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sklearn_pandas/cross_validation.py b/sklearn_pandas/cross_validation.py index fd265ab..27f6dfc 100644 --- a/sklearn_pandas/cross_validation.py +++ b/sklearn_pandas/cross_validation.py @@ -7,4 +7,4 @@ def __len__(self): return len(self.df) def __getitem__(self, key): - return self.df.iloc[key] + return self.df.loc[key]