From c238a1a49393400c117ff05502221c0f1ec6b3b4 Mon Sep 17 00:00:00 2001 From: loganthomas Date: Wed, 11 Aug 2021 21:05:19 -0500 Subject: [PATCH 01/11] [DOC] update link in CHANGELOG to reflect pyjanitor-devs --- CHANGELOG.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df25e590b..dccefd902 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -213,9 +213,7 @@ For changes that happened prior to v0.18.1, please consult the closed PRs, -which can be found here\_. - -.. \_here: +which can be found [here](https://github.com/pyjanitor-devs/pyjanitor/pulls?q=is%3Apr+is%3Aclosed) We thank all contributors who have helped make `pyjanitor` From dd3f7036e2af34e4404943787561e82be29c56fe Mon Sep 17 00:00:00 2001 From: loganthomas Date: Wed, 11 Aug 2021 21:07:40 -0500 Subject: [PATCH 02/11] [DOC] add period to end sentence in PRs link --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index dccefd902..f128314ff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -213,7 +213,7 @@ For changes that happened prior to v0.18.1, please consult the closed PRs, -which can be found [here](https://github.com/pyjanitor-devs/pyjanitor/pulls?q=is%3Apr+is%3Aclosed) +which can be found [here](https://github.com/pyjanitor-devs/pyjanitor/pulls?q=is%3Apr+is%3Aclosed). We thank all contributors who have helped make `pyjanitor` From 47f45d6d5d2662a397f537e7a4f1b72409a12bf8 Mon Sep 17 00:00:00 2001 From: loganthomas Date: Wed, 11 Aug 2021 21:14:06 -0500 Subject: [PATCH 03/11] [DOC] update links in doc_fix template to reflect pyjanitor-devs --- .github/ISSUE_TEMPLATE/documentation_fix.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/documentation_fix.md b/.github/ISSUE_TEMPLATE/documentation_fix.md index c838344ea..132b7469c 100644 --- a/.github/ISSUE_TEMPLATE/documentation_fix.md +++ b/.github/ISSUE_TEMPLATE/documentation_fix.md @@ -19,5 +19,5 @@ I would like to propose a change, such that now the docs... -- [Link to documentation page](http://ericmjl.github.io/pyjanitor) -- [Link to exact file to be edited](https://github.com/ericmjl/pyjanitor/AUTHORS.rst) +- [Link to documentation page](https://pyjanitor-devs.github.io/pyjanitor/) +- [Link to exact file to be edited](https://github.com/pyjanitor-devs/pyjanitor/blob/dev/AUTHORS.rst) From cdb4f240433261009ddb48202c4b36886a8f9079 Mon Sep 17 00:00:00 2001 From: loganthomas Date: Wed, 11 Aug 2021 21:16:15 -0500 Subject: [PATCH 04/11] [DOC] update link in test_convert_currency.py to reflect pyjanitor-devs --- tests/finance/test_convert_currency.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/finance/test_convert_currency.py b/tests/finance/test_convert_currency.py index 3f606ec8f..ba2c93f33 100644 --- a/tests/finance/test_convert_currency.py +++ b/tests/finance/test_convert_currency.py @@ -19,7 +19,7 @@ def test_make_currency_api_request(): tests to fail. For an example of how this test fails, see: - https://github.com/ericmjl/pyjanitor/issues/147 + https://github.com/pyjanitor-devs/pyjanitor/issues/147 """ r = requests.get("https://api.exchangeratesapi.io") assert r.status_code == 200 From 406d8ef901c2e7ca11664c1a5e6be2ca9ed8d4a5 Mon Sep 17 00:00:00 2001 From: loganthomas Date: Wed, 11 Aug 2021 21:18:22 -0500 Subject: [PATCH 05/11] [DOC] update url in setup.py to reflect pyjanitor-devs --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 09be479c6..2571bbc64 100644 --- a/setup.py +++ b/setup.py @@ -115,7 +115,7 @@ def generate_long_description() -> str: description="Tools for cleaning pandas DataFrames", author="pyjanitor devs", author_email="ericmajinglong@gmail.com", - url="https://github.com/ericmjl/pyjanitor", + url="https://github.com/pyjanitor-devs/pyjanitor", license="MIT", # packages=["janitor", "janitor.xarray", "janitor.spark"], packages=find_packages(), From 535db1c27fe6d815a5c46fcd97356106abd08adb Mon Sep 17 00:00:00 2001 From: loganthomas Date: Wed, 11 Aug 2021 21:24:23 -0500 Subject: [PATCH 06/11] [DOC] update AUTHORS with new devs in leads section --- AUTHORS.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index dea16ed2b..c56067b2a 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -29,6 +29,9 @@ Leads - Started pyspark sub-module. - `@anzelpwj `_ | `contributions `_ - `@samukweku `_ | `contributions `_ +- `@loganthomas `_ | `contributions `_ + - Helped others with ``git`` issues at SciPy 2019. +- `@nvamsikrishna05 `_ | `contributions `_ Contributors @@ -64,8 +67,6 @@ Contributors - `@rebeccawperry `_ | `contributions `_ - `@TomMonks `_ | `contributions `_ - `@benjaminjack `_ | `contributions `_ -- `@loganthomas `_ | `contributions `_ - - Helped others with ``git`` issues at SciPy 2019. - `@kulini `_ | `contributions `_ - `@dwgoltra `_ | `contributions `_ - `@shandou `_ | `contributions `_ @@ -99,5 +100,4 @@ Contributors - `@Sousa8697 `_ | `contributions `_ - `@MollyCroke `_ | `contributions `_ - `@ericclessantostv `_ | `contributions `_ -- `@nvamsikrishna05 `_ | `contributions `_ -- `@fireddd `_ | `contributions `_ +- `@fireddd `_ | `contributions `_ From 82b80b584f491235a130ff8975b00c065ad809d0 Mon Sep 17 00:00:00 2001 From: loganthomas Date: Wed, 11 Aug 2021 21:39:47 -0500 Subject: [PATCH 07/11] [DOC] update pivot_wider() so only first line is shown in online docs --- janitor/functions.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/janitor/functions.py b/janitor/functions.py index b0758eac5..712226c98 100644 --- a/janitor/functions.py +++ b/janitor/functions.py @@ -6235,11 +6235,11 @@ def pivot_wider( fill_value: Optional[Union[int, float, str]] = None, ) -> pd.DataFrame: """ - Reshapes data from long to wide form. The number of columns are - increased, while decreasing the number of rows. + Reshapes data from 'long' to 'wide' form. - It is the inverse of the `pivot_longer` method, and is a - wrapper around `pd.DataFrame.pivot` method. + The number of columns are increased, while decreasing + the number of rows. It is the inverse of the `pivot_longer` + method, and is a wrapper around `pd.DataFrame.pivot` method. This method does not mutate the original DataFrame. From 9f89fa6ce718f6b7edd5ebcee29405d742855cb6 Mon Sep 17 00:00:00 2001 From: loganthomas Date: Wed, 11 Aug 2021 22:04:42 -0500 Subject: [PATCH 08/11] [DOC] update CHANGELOG with pyjanitor-dev anchors for version diffs --- CHANGELOG.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index f128314ff..0b7628816 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -223,34 +223,34 @@ the package that it is today. [v0.21.0]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.14...v0.21.0 -[v0.20.14]: https://github.com/ericmjl/pyjanitor/compare/v0.20.13...v0.20.14 +[v0.20.14]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.13...v0.20.14 -[v0.20.13]: https://github.com/ericmjl/pyjanitor/compare/v0.20.12...v0.20.13 +[v0.20.13]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.12...v0.20.13 -[v0.20.12]: https://github.com/ericmjl/pyjanitor/compare/v0.20.11...v0.20.12 +[v0.20.12]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.11...v0.20.12 -[v0.20.11]: https://github.com/ericmjl/pyjanitor/compare/v0.20.10...v0.20.11 +[v0.20.11]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.10...v0.20.11 -[v0.20.10]: https://github.com/ericmjl/pyjanitor/compare/v0.20.9...v0.20.10 +[v0.20.10]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.9...v0.20.10 -[v0.20.9]: https://github.com/ericmjl/pyjanitor/compare/v0.20.8...v0.20.9 +[v0.20.9]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.8...v0.20.9 -[v0.20.8]: https://github.com/ericmjl/pyjanitor/compare/v0.20.7...v0.20.8 +[v0.20.8]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.7...v0.20.8 -[v0.20.7]: https://github.com/ericmjl/pyjanitor/compare/v0.20.5...v0.20.7 +[v0.20.7]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.5...v0.20.7 -[v0.20.6]: https://github.com/ericmjl/pyjanitor/compare/v0.20.5...v0.20.7 +[v0.20.6]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.5...v0.20.7 -[v0.20.5]: https://github.com/ericmjl/pyjanitor/compare/v0.20.1...v0.20.5 +[v0.20.5]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.1...v0.20.5 -[v0.20.1]: https://github.com/ericmjl/pyjanitor/compare/v0.20.0...v0.20.1 +[v0.20.1]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.20.0...v0.20.1 -[v0.20.0]: https://github.com/ericmjl/pyjanitor/compare/v0.19.0...v0.20.0 +[v0.20.0]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.19.0...v0.20.0 -[v0.19.0]: https://github.com/ericmjl/pyjanitor/compare/v0.18.3...v0.19.0 +[v0.19.0]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.18.3...v0.19.0 -[v0.18.3]: https://github.com/ericmjl/pyjanitor/compare/v0.18.2...v0.18.3 +[v0.18.3]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.18.2...v0.18.3 -[v0.18.2]: https://github.com/ericmjl/pyjanitor/compare/v0.18.1...v0.18.2 +[v0.18.2]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.18.1...v0.18.2 -[v0.18.1]: https://github.com/ericmjl/pyjanitor/compare/v0.18.0...v0.18.1 +[v0.18.1]: https://github.com/pyjanitor-devs/pyjanitor/compare/v0.18.0...v0.18.1 From bb4761a3fd22969407060a80dca55c55f9a60630 Mon Sep 17 00:00:00 2001 From: loganthomas Date: Wed, 11 Aug 2021 22:06:34 -0500 Subject: [PATCH 09/11] [DOC] update CHANGELOG with doc updates line --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0b7628816..252ef456c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ - [INF] Removed the scikit-learn package from the dependencies from environment-dev.yml and base.in files. @nvamsikrishna05 - [ENH] Add function to remove constant columsn. @fireddd - [ENH] Added `factorize_columns` method which will deprecate the `label_encode` method in future release. @nvamsikrishna05 +- [DOC] Updated various documentation sources to reflect pyjanitor-dev ownership. @loganthomas ## [v0.21.0] - 2021-07-16 From 84056a77b80a076bc5af05a89bf4fdf608285491 Mon Sep 17 00:00:00 2001 From: loganthomas Date: Thu, 12 Aug 2021 19:57:06 -0500 Subject: [PATCH 10/11] [DOC] strip as_categorical from general_functions.rst --- docs/reference/general_functions.rst | 1 - 1 file changed, 1 deletion(-) diff --git a/docs/reference/general_functions.rst b/docs/reference/general_functions.rst index 7e9a1f6da..4507f7cb7 100644 --- a/docs/reference/general_functions.rst +++ b/docs/reference/general_functions.rst @@ -93,4 +93,3 @@ Other complete pivot_longer pivot_wider - as_categorical From a6ad1ada7d1f2afaa6bd90ac40f070b6ecd9fbc8 Mon Sep 17 00:00:00 2001 From: loganthomas Date: Thu, 12 Aug 2021 19:59:44 -0500 Subject: [PATCH 11/11] [DOC] strip as_categorical from janitor/functions.py --- janitor/functions.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/janitor/functions.py b/janitor/functions.py index 712226c98..692866548 100644 --- a/janitor/functions.py +++ b/janitor/functions.py @@ -568,7 +568,7 @@ def encode_categorical( parameter:: df = (pd.DataFrame(...) - .as_categorical( + .encode_categorical( col1 = ([3, 2, 1, 4], "appearance"), col2 = (['a','d','c','b'], "sort") ) @@ -600,7 +600,7 @@ def encode_categorical( what the arguments to the function are:: df = (pd.DataFrame(...) - .as_categorical( + .encode_categorical( col1 = As_Categorical( categories = [3, 2, 1, 4], order = "appearance"