rgwfuncs 0.0.32__py3-none-any.whl → 0.0.33__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- rgwfuncs/__init__.py +1 -1
- rgwfuncs/algebra_lib.py +1 -1
- {rgwfuncs-0.0.32.dist-info → rgwfuncs-0.0.33.dist-info}/METADATA +6 -6
- rgwfuncs-0.0.33.dist-info/RECORD +11 -0
- rgwfuncs-0.0.32.dist-info/RECORD +0 -11
- {rgwfuncs-0.0.32.dist-info → rgwfuncs-0.0.33.dist-info}/LICENSE +0 -0
- {rgwfuncs-0.0.32.dist-info → rgwfuncs-0.0.33.dist-info}/WHEEL +0 -0
- {rgwfuncs-0.0.32.dist-info → rgwfuncs-0.0.33.dist-info}/entry_points.txt +0 -0
- {rgwfuncs-0.0.32.dist-info → rgwfuncs-0.0.33.dist-info}/top_level.txt +0 -0
rgwfuncs/__init__.py
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
# This file is automatically generated
|
2
2
|
# Dynamically importing functions from modules
|
3
3
|
|
4
|
-
from .algebra_lib import compute_constant_expression, compute_constant_expression_involving_matrices, compute_constant_expression_involving_ordered_series,
|
4
|
+
from .algebra_lib import compute_constant_expression, compute_constant_expression_involving_matrices, compute_constant_expression_involving_ordered_series, compute_prime_factors, python_polynomial_expression_to_latex, simplify_polynomial_expression, solve_homogeneous_polynomial_expression
|
5
5
|
from .df_lib import append_columns, append_percentile_classification_column, append_ranged_classification_column, append_ranged_date_classification_column, append_rows, append_xgb_labels, append_xgb_logistic_regression_predictions, append_xgb_regression_predictions, bag_union_join, bottom_n_unique_values, cascade_sort, delete_rows, drop_duplicates, drop_duplicates_retain_first, drop_duplicates_retain_last, filter_dataframe, filter_indian_mobiles, first_n_rows, from_raw_data, insert_dataframe_in_sqlite_database, last_n_rows, left_join, limit_dataframe, load_data_from_path, load_data_from_query, load_data_from_sqlite_path, mask_against_dataframe, mask_against_dataframe_converse, numeric_clean, order_columns, print_correlation, print_dataframe, print_memory_usage, print_n_frequency_cascading, print_n_frequency_linear, rename_columns, retain_columns, right_join, send_data_to_email, send_data_to_slack, send_dataframe_via_telegram, sync_dataframe_to_sqlite_database, top_n_unique_values, union_join, update_rows
|
6
6
|
from .docs_lib import docs
|
7
7
|
from .str_lib import send_telegram_message
|
rgwfuncs/algebra_lib.py
CHANGED
@@ -10,7 +10,7 @@ from sympy.parsing.sympy_parser import (standard_transformations, implicit_multi
|
|
10
10
|
from typing import Tuple, List, Dict, Optional
|
11
11
|
|
12
12
|
|
13
|
-
def
|
13
|
+
def compute_prime_factors(n: int) -> str:
|
14
14
|
"""
|
15
15
|
Computes the prime factors of a number and returns the factorization as a LaTeX string.
|
16
16
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.2
|
2
2
|
Name: rgwfuncs
|
3
|
-
Version: 0.0.
|
3
|
+
Version: 0.0.33
|
4
4
|
Summary: A functional programming paradigm for mathematical modelling and data science
|
5
5
|
Home-page: https://github.com/ryangerardwilson/rgwfunc
|
6
6
|
Author: Ryan Gerard Wilson
|
@@ -154,7 +154,7 @@ Print a list of available function names in alphabetical order. If a filter is p
|
|
154
154
|
|
155
155
|
This section provides comprehensive functions for handling algebraic expressions, performing tasks such as computation, simplification, solving equations, and prime factorization, all outputted in LaTeX format.
|
156
156
|
|
157
|
-
### 1. `
|
157
|
+
### 1. `compute_prime_factors`
|
158
158
|
|
159
159
|
Computes prime factors of a number and presents them in LaTeX format.
|
160
160
|
|
@@ -166,14 +166,14 @@ Computes prime factors of a number and presents them in LaTeX format.
|
|
166
166
|
|
167
167
|
• Example:
|
168
168
|
|
169
|
-
from rgwfuncs import
|
170
|
-
factors_1 =
|
169
|
+
from rgwfuncs import compute_prime_factors
|
170
|
+
factors_1 = compute_prime_factors(100)
|
171
171
|
print(factors_1) # Output: "2^{2} \cdot 5^{2}"
|
172
172
|
|
173
|
-
factors_2 =
|
173
|
+
factors_2 = compute_prime_factors(60)
|
174
174
|
print(factors_2) # Output: "2^{2} \cdot 3 \cdot 5"
|
175
175
|
|
176
|
-
factors_3 =
|
176
|
+
factors_3 = compute_prime_factors(17)
|
177
177
|
print(factors_3) # Output: "17"
|
178
178
|
|
179
179
|
--------------------------------------------------------------------------------
|
@@ -0,0 +1,11 @@
|
|
1
|
+
rgwfuncs/__init__.py,sha256=xs4RKtP6koffSxgfqG8b5E6qebsTmoQUMVj8-Hf2xj0,1467
|
2
|
+
rgwfuncs/algebra_lib.py,sha256=HAG57M5ce5RsPBcKX1LFwK7hr-b55vSRPmxjYxDdRkE,21585
|
3
|
+
rgwfuncs/df_lib.py,sha256=G_H3PXNVeseX2YLjkkrmO9eXA_7r29swUZlbPBDZjXA,66612
|
4
|
+
rgwfuncs/docs_lib.py,sha256=y3wSAOPO3qsA4HZ7xAtW8HimM8w-c8hjcEzMRLJ96ao,1960
|
5
|
+
rgwfuncs/str_lib.py,sha256=rtAdRlnSJIu3JhI-tA_A0wCiPK2m-zn5RoGpBxv_g-4,2228
|
6
|
+
rgwfuncs-0.0.33.dist-info/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
|
7
|
+
rgwfuncs-0.0.33.dist-info/METADATA,sha256=7rjtuE5Q1RAd44zz995DwJXPdoGHEAp05cKkDQ_UKew,44916
|
8
|
+
rgwfuncs-0.0.33.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
9
|
+
rgwfuncs-0.0.33.dist-info/entry_points.txt,sha256=j-c5IOPIQ0252EaOV6j6STio56sbXl2C4ym_fQ0lXx0,43
|
10
|
+
rgwfuncs-0.0.33.dist-info/top_level.txt,sha256=aGuVIzWsKiV1f2gCb6mynx0zx5ma0B1EwPGFKVEMTi4,9
|
11
|
+
rgwfuncs-0.0.33.dist-info/RECORD,,
|
rgwfuncs-0.0.32.dist-info/RECORD
DELETED
@@ -1,11 +0,0 @@
|
|
1
|
-
rgwfuncs/__init__.py,sha256=wq3TPi1GdUo5tYtZtmhbBfBxrhhTYgQmiKNWjlDRMmQ,1473
|
2
|
-
rgwfuncs/algebra_lib.py,sha256=alyNFFKsuKJeeNMAyDnQJ-0VGzSORzP3zfWrTGyGmms,21591
|
3
|
-
rgwfuncs/df_lib.py,sha256=G_H3PXNVeseX2YLjkkrmO9eXA_7r29swUZlbPBDZjXA,66612
|
4
|
-
rgwfuncs/docs_lib.py,sha256=y3wSAOPO3qsA4HZ7xAtW8HimM8w-c8hjcEzMRLJ96ao,1960
|
5
|
-
rgwfuncs/str_lib.py,sha256=rtAdRlnSJIu3JhI-tA_A0wCiPK2m-zn5RoGpBxv_g-4,2228
|
6
|
-
rgwfuncs-0.0.32.dist-info/LICENSE,sha256=7EI8xVBu6h_7_JlVw-yPhhOZlpY9hP8wal7kHtqKT_E,1074
|
7
|
-
rgwfuncs-0.0.32.dist-info/METADATA,sha256=rAoDt3FK1ZnhjIvpM4dEH0_lXS2Vl68mPVMDUCdORrk,44946
|
8
|
-
rgwfuncs-0.0.32.dist-info/WHEEL,sha256=In9FTNxeP60KnTkGw7wk6mJPYd_dQSjEZmXdBdMCI-8,91
|
9
|
-
rgwfuncs-0.0.32.dist-info/entry_points.txt,sha256=j-c5IOPIQ0252EaOV6j6STio56sbXl2C4ym_fQ0lXx0,43
|
10
|
-
rgwfuncs-0.0.32.dist-info/top_level.txt,sha256=aGuVIzWsKiV1f2gCb6mynx0zx5ma0B1EwPGFKVEMTi4,9
|
11
|
-
rgwfuncs-0.0.32.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|