taxcalc 3.5.0__py3-none-any.whl → 3.5.1__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.
- taxcalc/__init__.py +1 -1
- taxcalc/utils.py +4 -4
- taxcalc-3.5.1.dist-info/METADATA +46 -0
- {taxcalc-3.5.0.dist-info → taxcalc-3.5.1.dist-info}/RECORD +8 -8
- taxcalc-3.5.0.dist-info/METADATA +0 -42
- /taxcalc-3.5.0.dist-info/LICENSE.md → /taxcalc-3.5.1.dist-info/LICENSE +0 -0
- {taxcalc-3.5.0.dist-info → taxcalc-3.5.1.dist-info}/WHEEL +0 -0
- {taxcalc-3.5.0.dist-info → taxcalc-3.5.1.dist-info}/entry_points.txt +0 -0
- {taxcalc-3.5.0.dist-info → taxcalc-3.5.1.dist-info}/top_level.txt +0 -0
taxcalc/__init__.py
CHANGED
taxcalc/utils.py
CHANGED
@@ -361,7 +361,7 @@ def create_distribution_table(vdf, groupby, income_measure,
|
|
361
361
|
dframe = add_income_table_row_variable(vdf, income_measure,
|
362
362
|
SOI_AGI_BINS)
|
363
363
|
# construct grouped DataFrame
|
364
|
-
gdf = dframe.groupby('table_row', as_index=False)
|
364
|
+
gdf = dframe.groupby('table_row', observed=False, as_index=False)
|
365
365
|
dist_table = stat_dataframe(gdf)
|
366
366
|
del dframe['table_row']
|
367
367
|
# compute sum row
|
@@ -901,7 +901,7 @@ def mtr_graph_data(vdf, year,
|
|
901
901
|
weight_by_income_measure=dollar_weighting
|
902
902
|
)
|
903
903
|
# split dfx into groups specified by 'table_row' column
|
904
|
-
gdfx = dfx.groupby('table_row', as_index=False)
|
904
|
+
gdfx = dfx.groupby('table_row', observed=False, as_index=False)
|
905
905
|
# apply the weighting_function to percentile-grouped mtr values
|
906
906
|
mtr1_series = gdfx.apply(weighting_function, 'mtr1').values[:, 1]
|
907
907
|
mtr2_series = gdfx.apply(weighting_function, 'mtr2').values[:, 1]
|
@@ -1018,7 +1018,7 @@ def atr_graph_data(vdf, year,
|
|
1018
1018
|
include = [0] * num_bins_with_nonpos + [1] * (100 - num_bins_with_nonpos)
|
1019
1019
|
included = np.array(include, dtype=bool)
|
1020
1020
|
# split dfx into groups specified by 'table_row' column
|
1021
|
-
gdfx = dfx.groupby('table_row', as_index=False)
|
1021
|
+
gdfx = dfx.groupby('table_row', observed=False, as_index=False)
|
1022
1022
|
# apply weighted_mean function to percentile-grouped values
|
1023
1023
|
avginc_series = gdfx.apply(weighted_mean, 'expanded_income').values[:, 1]
|
1024
1024
|
avgtax1_series = gdfx.apply(weighted_mean, 'tax1').values[:, 1]
|
@@ -1192,7 +1192,7 @@ def pch_graph_data(vdf, year, pop_quantiles=False):
|
|
1192
1192
|
include = [0] * num_bins_with_nonpos + [1] * (100 - num_bins_with_nonpos)
|
1193
1193
|
included = np.array(include, dtype=bool)
|
1194
1194
|
# split dfx into groups specified by 'table_row' column
|
1195
|
-
gdfx = dfx.groupby('table_row', as_index=False)
|
1195
|
+
gdfx = dfx.groupby('table_row', observed=False, as_index=False)
|
1196
1196
|
# apply weighted_mean function to percentile-grouped values
|
1197
1197
|
avginc_series = gdfx.apply(weighted_mean, 'expanded_income').values[:, 1]
|
1198
1198
|
change_series = gdfx.apply(weighted_mean, 'chg_aftinc').values[:, 1]
|
@@ -0,0 +1,46 @@
|
|
1
|
+
Metadata-Version: 2.1
|
2
|
+
Name: taxcalc
|
3
|
+
Version: 3.5.1
|
4
|
+
Summary: taxcalc
|
5
|
+
Home-page: https://github.com/PSLmodels/Tax-Calculator
|
6
|
+
Download-URL: https://github.com/PSLmodels/Tax-Calculator
|
7
|
+
License: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
|
8
|
+
Classifier: Development Status :: 4 - Beta
|
9
|
+
Classifier: Intended Audience :: Developers
|
10
|
+
Classifier: Natural Language :: English
|
11
|
+
Classifier: License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
|
12
|
+
Classifier: Operating System :: OS Independent
|
13
|
+
Classifier: Programming Language :: Python
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
15
|
+
Classifier: Programming Language :: Python :: 3.9
|
16
|
+
Classifier: Programming Language :: Python :: 3.10
|
17
|
+
Classifier: Programming Language :: Python :: 3.11
|
18
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
19
|
+
Description-Content-Type: text/markdown
|
20
|
+
License-File: LICENSE
|
21
|
+
Requires-Dist: setuptools
|
22
|
+
Requires-Dist: numpy
|
23
|
+
Requires-Dist: pandas
|
24
|
+
Requires-Dist: bokeh
|
25
|
+
Requires-Dist: numba
|
26
|
+
Requires-Dist: requests
|
27
|
+
Requires-Dist: paramtools
|
28
|
+
|
29
|
+
| | |
|
30
|
+
| --- | --- |
|
31
|
+
| Org | [](https://www.PSLmodels.org) [](https://github.com/PSLmodels/Tax-Calculator/blob/master/LICENSE) [](https://pslmodels.github.io/Tax-Calculator/) |
|
32
|
+
| Package | [](https://www.python.org/downloads/release/python-3916/) [](https://www.python.org/downloads/release/python-3108/) [](https://www.python.org/downloads/release/python-3118/) [](https://pypi.org/project/taxcalc/) [](https://pypi.org/project/taxcalc/) [](https://anaconda.org/conda-forge/taxcalc)|
|
33
|
+
| Testing |   [](https://codecov.io/gh/PSLmodels/Tax-Calculator) |
|
34
|
+
|
35
|
+
|
36
|
+
Tax-Calculator
|
37
|
+
==============
|
38
|
+
|
39
|
+
Tax-Calculator is an open-source microsimulation model for static
|
40
|
+
analysis of USA federal income and payroll taxes.
|
41
|
+
|
42
|
+
We are seeking contributors and maintainers. If you are interested in joining the project as a contributor or maintainer,
|
43
|
+
open a new [issue](https://github.com/PSLmodels/Tax-Calculator/issues) and ping [@MattHJensen](https://github.com/MattHJensen/) or [@jdebacker](https://github.com/jdebacker/) -- or just jump right in.
|
44
|
+
|
45
|
+
Complete documentation is available
|
46
|
+
[here](https://PSLmodels.github.io/Tax-Calculator/).
|
@@ -1,4 +1,4 @@
|
|
1
|
-
taxcalc/__init__.py,sha256=
|
1
|
+
taxcalc/__init__.py,sha256=Wu6kY8rP0mJJbNsqu1UUCkQ_33aMgFjLCe2KZZrxqtA,478
|
2
2
|
taxcalc/calcfunctions.py,sha256=pmaIRH6zohN3uzUaEunk5-21kXipNUL3nKr8dXlD-jo,143910
|
3
3
|
taxcalc/calculator.py,sha256=41eg3EG9m1wZjQnY7WTeQ-uCTTrLyYjCPIw2cJzYHRI,63465
|
4
4
|
taxcalc/conftest.py,sha256=nO4J7qu1sTHgjqrzhpRMvfMJUrNm6GP_IsSuuDt_MeQ,141
|
@@ -20,13 +20,13 @@ taxcalc/puf_weights.csv.gz,sha256=Ff4lpP5ojG7J-PYVhwisiRI0dN25KCvVzkWW_48DVwY,12
|
|
20
20
|
taxcalc/records.py,sha256=OGk5HPZo3NZyxmyCD2J0EeQvPLAbeF4k5T_kMZIJEec,16240
|
21
21
|
taxcalc/records_variables.json,sha256=JB7qZBLHhuUaP1UiH7Esw3vULFDeVrJZ0WeKWtyHgRY,42391
|
22
22
|
taxcalc/taxcalcio.py,sha256=jFfl1Nc5YCqZgxj69B5M1NdIvHyAyymnLvtxiU66scs,31573
|
23
|
-
taxcalc/utils.py,sha256=
|
23
|
+
taxcalc/utils.py,sha256=X82SRxqBuTlg3uFRzTFrvYHMRnzn71t3w9ZPj5x5pho,62038
|
24
24
|
taxcalc/utilsprvt.py,sha256=iIyWp9-N3_XWjQj2jV2CWnJy7vrNlKB2_vIMwYjgbWY,1323
|
25
25
|
taxcalc/cli/__init__.py,sha256=cyZ0tdx41j_vV_B6GAkqJmNKKG-B0wUC0ThC75lJlk4,104
|
26
26
|
taxcalc/cli/tc.py,sha256=WtieQ4hc8xdctdmIwe7Ro52_7DQgX1k8zzdns6JrbDw,10781
|
27
|
-
taxcalc-3.5.
|
28
|
-
taxcalc-3.5.
|
29
|
-
taxcalc-3.5.
|
30
|
-
taxcalc-3.5.
|
31
|
-
taxcalc-3.5.
|
32
|
-
taxcalc-3.5.
|
27
|
+
taxcalc-3.5.1.dist-info/LICENSE,sha256=m5epLdB-_NXiY7NsEDgcHP4jDtJ4vOlRf5S3Jb-jraY,1299
|
28
|
+
taxcalc-3.5.1.dist-info/METADATA,sha256=fEQOrnQfoE5xwdznxZ2j_-oto4ZNQn6m75Fgm3jmn1o,3170
|
29
|
+
taxcalc-3.5.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
|
30
|
+
taxcalc-3.5.1.dist-info/entry_points.txt,sha256=a3ZE1piRv683p27fOLdWZvVJXESkoslTOp5iXV7uVco,50
|
31
|
+
taxcalc-3.5.1.dist-info/top_level.txt,sha256=Wh8wTDHkA_cm4dn8IoUCviDyGgVQqwEQKPJnl8z6d4c,8
|
32
|
+
taxcalc-3.5.1.dist-info/RECORD,,
|
taxcalc-3.5.0.dist-info/METADATA
DELETED
@@ -1,42 +0,0 @@
|
|
1
|
-
Metadata-Version: 2.1
|
2
|
-
Name: taxcalc
|
3
|
-
Version: 3.5.0
|
4
|
-
Summary: taxcalc
|
5
|
-
Home-page: https://github.com/PSLmodels/Tax-Calculator
|
6
|
-
Download-URL: https://github.com/PSLmodels/Tax-Calculator
|
7
|
-
License: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
|
8
|
-
Classifier: Development Status :: 4 - Beta
|
9
|
-
Classifier: Intended Audience :: Developers
|
10
|
-
Classifier: Natural Language :: English
|
11
|
-
Classifier: License :: CC0 1.0 Universal (CC0 1.0) Public Domain Dedication
|
12
|
-
Classifier: Operating System :: OS Independent
|
13
|
-
Classifier: Programming Language :: Python
|
14
|
-
Classifier: Programming Language :: Python :: 3
|
15
|
-
Classifier: Programming Language :: Python :: 3.7
|
16
|
-
Classifier: Programming Language :: Python :: 3.8
|
17
|
-
Classifier: Programming Language :: Python :: 3.9
|
18
|
-
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
19
|
-
License-File: LICENSE.md
|
20
|
-
Requires-Dist: setuptools
|
21
|
-
Requires-Dist: numpy
|
22
|
-
Requires-Dist: pandas
|
23
|
-
Requires-Dist: bokeh
|
24
|
-
Requires-Dist: numba
|
25
|
-
|
26
|
-
[](https://www.PSLmodels.org)
|
27
|
-
[](https://www.python.org/downloads/release/python-360/)
|
28
|
-
[](https://travis-ci.org/PSLmodels/Tax-Calculator)
|
29
|
-
[](https://codecov.io/gh/PSLmodels/Tax-Calculator)
|
30
|
-
|
31
|
-
|
32
|
-
Tax-Calculator
|
33
|
-
==============
|
34
|
-
|
35
|
-
Tax-Calculator is an open-source microsimulation model for static
|
36
|
-
analysis of USA federal income and payroll taxes.
|
37
|
-
|
38
|
-
We are seeking contributors and maintainers. If you are interested in joining the project as a contributor or maintainer,
|
39
|
-
open a new [issue](https://github.com/PSLmodels/Tax-Calculator/issues) and ping @MattHJensen or @jdebacker -- or just jump right in.
|
40
|
-
|
41
|
-
Complete documentation is available
|
42
|
-
[here](https://PSLmodels.github.io/Tax-Calculator/).
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|