From 058bc2f37f80cf6001dabd4f570ee39f5675d3d3 Mon Sep 17 00:00:00 2001 From: 98hyun <57552610+98hyun@users.noreply.github.com> Date: Sat, 9 Apr 2022 11:14:05 +0900 Subject: [PATCH] Update Readme.md Add "Survived" parameter to Part of "compare_intra" --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index b656a69..b16f30a 100644 --- a/README.md +++ b/README.md @@ -113,7 +113,7 @@ Another way to get great insights is to use the comparison functionality to spli Support for this is built in through the `compare_intra()` function. This function takes a boolean series as one of the arguments, as well as an explicit "name" tuple for naming the (true, false) resulting datasets. Note that internally, this creates 2 separate dataframes to represent each resulting group. As such, it is more of a shorthand function of doing such processing manually. ``` -my_report = sv.compare_intra(my_dataframe, my_dataframe["Sex"] == "male", ["Male", "Female"], feature_config) +my_report = sv.compare_intra(my_dataframe, my_dataframe["Sex"] == "male", ["Male", "Female"], "Survived", feature_config) ``` ## Step 2: Show the report Once you have created your report object (e.g. `my_report` in the examples above), simply pass it into one of the two `show' functions: