Skip to content

Commit

Permalink
fix: correct typo in FeatureCollection
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisrall committed Jan 8, 2024
1 parent 9621757 commit 6c11ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ludwig/schema/features/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def __len__(self):

def __getitem__(self, i) -> T:
if isinstance(i, str):
return self._name_to_features[i]
return self._name_to_feature[i]
else:
return self._features[i]

Expand Down

0 comments on commit 6c11ee6

Please sign in to comment.