Skip to content

Commit

Permalink
Merge pull request #114 from 98hyun/master
Browse files Browse the repository at this point in the history
Update Readme.md
  • Loading branch information
fbdesignpro authored Aug 25, 2023
2 parents 64d4ae6 + 058bc2f commit 444ce22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,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:
Expand Down

0 comments on commit 444ce22

Please sign in to comment.