Skip to content

Commit b352f87

Browse files
committed
updated visuals.py
1 parent c267022 commit b352f87

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/titanic_survival_exploration/visuals.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def survival_stats(data, outcomes, key, filters = []):
7070
return False
7171

7272
# Merge data and outcomes into single dataframe
73-
all_data = pd.concat([data, outcomes], axis = 1)
73+
all_data = pd.concat([data, outcomes.to_frame()], axis = 1)
7474

7575
# Apply filters to data
7676
for condition in filters:

0 commit comments

Comments
 (0)