Skip to content

Commit

Permalink
Omit index when exporting prediction sets
Browse files Browse the repository at this point in the history
  • Loading branch information
mariya committed Nov 7, 2024
1 parent ac7e713 commit ed5687b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/conformist/base_cop.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ def predict(self,
self.create_output_dir(output_dir)

# -- WRITE PREDICTIONS TO CSV
formatted_predictions.to_csv(f'{self.output_dir}/prediction_sets.csv')
formatted_predictions.to_csv(f'{self.output_dir}/prediction_sets.csv',
index=False)

# -- GENERATE REPORTS --
# Upset plot
Expand Down

0 comments on commit ed5687b

Please sign in to comment.