Skip to content

Commit 3f31f07

Browse files
committed
updates to checking columns are in data
1 parent e050fb6 commit 3f31f07

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/team_comm_tools/utils/calculate_conversation_level_features.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ def __init__(self, chat_data: pd.DataFrame,
9898
convo_columns_in_data = list(set(convo_columns).intersection(set(self.chat_data.columns)))
9999
if(len(convo_columns_in_data) != len(convo_columns)):
100100
print(
101-
"Warning: One or more requested user columns are not present in the data. Ignoring them."
101+
"Warning: One or more requested user columns are not present in the DATA. Ignoring them."
102102
)
103103

104104
for i in convo_columns:
@@ -116,7 +116,7 @@ def __init__(self, chat_data: pd.DataFrame,
116116
convo_columns_in_features = list(set(convo_columns).intersection(set(self.chat_features)))
117117
if(len(convo_columns_in_features) != len(convo_columns)):
118118
print(
119-
"Warning: One or more requested user columns are not present in the feature list. Ignoring them."
119+
"Warning: One or more requested user columns are not present in the FEATURE LIST. Ignoring them."
120120
)
121121

122122
for i in convo_columns:

src/team_comm_tools/utils/calculate_user_level_features.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ def __init__(self, chat_data: pd.DataFrame,
6969

7070
if(len(user_columns_in_data) != len(user_columns)):
7171
print(
72-
"Warning: One or more requested user columns are not present in the data. Ignoring them."
72+
"Warning: One or more requested user columns are not present in the DATA. Ignoring them."
7373
)
7474

7575
for i in user_columns:
@@ -88,7 +88,7 @@ def __init__(self, chat_data: pd.DataFrame,
8888

8989
if(len(user_columns_in_features) != len(user_columns)):
9090
print(
91-
"Warning: One or more requested user columns are not present in the feature list. Ignoring them."
91+
"Warning: One or more requested user columns are not present in the FEATURE LIST. Ignoring them."
9292
)
9393

9494
for i in user_columns:

0 commit comments

Comments
 (0)