-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# Release 0.8.2 This release makes it easier to build apps on top of buckaroo. Post processing functions can now hide columns CustomizableDataflow (which all widgets extend) gets a new parameter of `init_sd` which is an initial summary_dict. This makes it easier to hard code summary_dict values. More resiliency around styling columns. Previously if calls to `style_column` failed, an error would be thrown and the column would be hidden or an error thrown, now a default obj displayer is used. [Datacompy_app](capitalone/datacompy#372) example built utilizing this new functionality. This app compares dataframes with the [datacompy](https://github.com/capitalone/datacompy) library
- Loading branch information
Showing
12 changed files
with
634 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"cells": [ | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "d8f47719-21e9-4a99-bb44-73c4f8b99c3d", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"import pandas as pd\n", | ||
"import datacompy\n", | ||
"from datacompy_app import DatacompyBuckaroo" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "4a405785-0456-4a78-aec8-4e8045d7462a", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"# Create sample DataFrames\n", | ||
"df_a = pd.DataFrame({\n", | ||
" 'a': [1, 2, 3, 4, 5, 6, 7, 8],\n", | ||
" 'b': [4, 5, 6, 4, 4, 6, 7, 8],\n", | ||
" 'c': ['foo', 'foo', 'bar', None, None, 'bar', 'bar', 'foo'],\n", | ||
" 'e': [100, 10, 1, 200, 150, 140, 130, 120]})\n", | ||
"\n", | ||
"df_b = pd.DataFrame({\n", | ||
" 'a': [1, 2, 3, 4, 5, 6, 7, 8],\n", | ||
" 'b': [4, 5, 7, 4, 4, 6, 4, 4],\n", | ||
" 'd': ['foo', 'baz', 'baz', 'bar', None, None, 'bar', 'bar'],\n", | ||
" 'f': [100, 10, 1, 200, 150, 140, 130, 120]\n", | ||
"}) # Notice the difference in the last row" | ||
] | ||
}, | ||
{ | ||
"cell_type": "code", | ||
"execution_count": null, | ||
"id": "95d9ce1f-71b1-4fa2-bde6-8ffbc642c574", | ||
"metadata": {}, | ||
"outputs": [], | ||
"source": [ | ||
"DatacompyBuckaroo(df_a, df_b)" | ||
] | ||
} | ||
], | ||
"metadata": { | ||
"kernelspec": { | ||
"display_name": "Python 3 (ipykernel)", | ||
"language": "python", | ||
"name": "python3" | ||
}, | ||
"language_info": { | ||
"codemirror_mode": { | ||
"name": "ipython", | ||
"version": 3 | ||
}, | ||
"file_extension": ".py", | ||
"mimetype": "text/x-python", | ||
"name": "python", | ||
"nbconvert_exporter": "python", | ||
"pygments_lexer": "ipython3", | ||
"version": "3.12.8" | ||
}, | ||
"widgets": { | ||
"application/vnd.jupyter.widget-state+json": { | ||
"state": {}, | ||
"version_major": 2, | ||
"version_minor": 0 | ||
} | ||
} | ||
}, | ||
"nbformat": 4, | ||
"nbformat_minor": 5 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.