Skip to content

Commit a4aa16e

Browse files
committed
dropping predictions from NAM df
1 parent 65fdf3d commit a4aa16e

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

stream_topic/NAM/NAM.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -323,6 +323,9 @@ def __init__(
323323
columns=["text", "tokens"], errors="ignore"
324324
)
325325

326+
if "predictions" in self.structured_data.columns:
327+
self.structured_data = self.structured_data.drop(columns=["predictions"])
328+
326329
self.target_column = target_column
327330

328331
# Combine topic probabilities with structured data

0 commit comments

Comments
 (0)