Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 22, 2024
1 parent 328a979 commit b97abc8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions torch_frame/data/dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ def materialize(
self._is_materialized = True
return self

# 1. Fill column statistics:
# 1. Fill column statistics:
if col_stats is None:
# calculate from data if col_stats is not provided
for col, stype in self.col_to_stype.items():
Expand All @@ -612,7 +612,6 @@ def materialize(
else:
self._col_stats = col_stats


# 2. Create the `TensorFrame`:
self._to_tensor_frame_converter = self._get_tensorframe_converter()
self._tensor_frame = self._to_tensor_frame_converter(self.df, device)
Expand Down

0 comments on commit b97abc8

Please sign in to comment.