From b36958b5f56bddbad504464d589303cda378527d Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Tue, 5 Jul 2022 06:30:52 +1000 Subject: [PATCH 1/2] docs: Fix a few typos There are small typos in: - examples/column.py - optimus/helpers/columns_expression.py - readme/readme_.md Fixes: - Should read `outputted` rather than `ouputed`. - Should read `necessary` rather than `neccesary`. - Should read `handle` rather than `hadle`. --- examples/column.py | 2 +- optimus/helpers/columns_expression.py | 2 +- readme/readme_.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/column.py b/examples/column.py index c5fe4a872..379fd632d 100644 --- a/examples/column.py +++ b/examples/column.py @@ -269,7 +269,7 @@ # ## Unnest Columns # -# With unnest you can convert one column into multiple ones. it can hadle string, array and vectors +# With unnest you can convert one column into multiple ones. it can handle string, array and vectors # # ### Spark # Can split strings with split() diff --git a/optimus/helpers/columns_expression.py b/optimus/helpers/columns_expression.py index fed09a2ae..20504e4b0 100644 --- a/optimus/helpers/columns_expression.py +++ b/optimus/helpers/columns_expression.py @@ -60,7 +60,7 @@ def hist_agg(col_name, df, buckets, min_max=None, data_type=None): :param col_name: :param df: :param buckets: - :param min_max: Min and max vaule neccesary to calculate the buckets + :param min_max: Min and max vaule necessary to calculate the buckets :param data_type: Column datatype to calculate the related histogram. Int, String and Dates return different histograms :return: diff --git a/readme/readme_.md b/readme/readme_.md index 53767f8fb..a8258fe8f 100644 --- a/readme/readme_.md +++ b/readme/readme_.md @@ -178,7 +178,7 @@ Become a [backer](https://opencollective.com/optimus#backer) or a [sponsor](http This will recreate README.md -The bellow script process the ```readme_.md``` that is ouputed from this notebook and remove the header from jupytext, python comments and convert/add table to images and output ```readme.md```. +The bellow script process the ```readme_.md``` that is outputted from this notebook and remove the header from jupytext, python comments and convert/add table to images and output ```readme.md```. To make ```table_image()``` function be sure to install imagekit ```pip install imgkit``` Also install wkhtmltopdf https://wkhtmltopdf.org/downloads.html. This is responsible to generate the optimus tables as images From cc1a68e29a8b2cee5c99527795a04a072300e36f Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Tue, 5 Jul 2022 06:31:50 +1000 Subject: [PATCH 2/2] Update columns_expression.py --- optimus/helpers/columns_expression.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/optimus/helpers/columns_expression.py b/optimus/helpers/columns_expression.py index 20504e4b0..ec6ca6eb6 100644 --- a/optimus/helpers/columns_expression.py +++ b/optimus/helpers/columns_expression.py @@ -60,7 +60,7 @@ def hist_agg(col_name, df, buckets, min_max=None, data_type=None): :param col_name: :param df: :param buckets: - :param min_max: Min and max vaule necessary to calculate the buckets + :param min_max: Min and max value necessary to calculate the buckets :param data_type: Column datatype to calculate the related histogram. Int, String and Dates return different histograms :return: