Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion pyprophet/io/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -384,7 +384,9 @@ def _prepare_score_dataframe(
# logger.info(
# "Exploding protein_id column to handle multiple proteins per feature."
# )
df = df.explode("protein_id")
pl_df = pl.from_pandas(df)
pl_df = pl_df.explode("protein_id")
df = pl_df.to_pandas()

if level == "transition":
if self.file_type in ("parquet", "parquet_split", "parquet_split_multi"):
Expand Down