Skip to content

Commit

Permalink
Cast columns to list for compatibility with numpy 1.26+
Browse files Browse the repository at this point in the history
  • Loading branch information
ml-evs committed Mar 26, 2024
1 parent 6435ab4 commit 5bdb73f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion matminer/featurizers/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ def featurize_dataframe(
)

# Generate the labels for the columns
labels = self._generate_column_labels(multiindex, return_errors)
labels = self._generate_column_labels(multiindex, return_errors).tolist()

# Check names to avoid overwriting the current columns
# ConversionFeaturizer have attribute called _overwrite_data which
Expand Down

0 comments on commit 5bdb73f

Please sign in to comment.