policyengine-uk 2.36.0__py3-none-any.whl → 2.36.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.
@@ -48,7 +48,7 @@ class UKDataset:
48
48
  self.person = f["person"]
49
49
  self.benunit = f["benunit"]
50
50
  self.household = f["household"]
51
- self.time_period = f["time_period"].iloc[0]
51
+ self.time_period = str(f["time_period"].iloc[0])
52
52
  else:
53
53
  if person is None or benunit is None or household is None:
54
54
  raise ValueError(
@@ -57,9 +57,9 @@ class UKDataset:
57
57
  self.person = person
58
58
  self.benunit = benunit
59
59
  self.household = household
60
+ self.time_period = str(fiscal_year)
60
61
 
61
62
  self.data_format = "arrays"
62
- self.time_period = fiscal_year
63
63
  self.tables = (self.person, self.benunit, self.household)
64
64
 
65
65
  def save(self, file_path: str):
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
5
5
  The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
+ ## [2.36.1] - 2025-07-13 19:47:46
9
+
10
+ ### Fixed
11
+
12
+ - Bug in loading entity tables.
13
+
8
14
  ## [2.36.0] - 2025-07-13 13:11:45
9
15
 
10
16
  ### Added
@@ -1912,6 +1918,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1912
1918
 
1913
1919
 
1914
1920
 
1921
+ [2.36.1]: https://github.com/PolicyEngine/openfisca-uk/compare/2.36.0...2.36.1
1915
1922
  [2.36.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.35.1...2.36.0
1916
1923
  [2.35.1]: https://github.com/PolicyEngine/openfisca-uk/compare/2.35.0...2.35.1
1917
1924
  [2.35.0]: https://github.com/PolicyEngine/openfisca-uk/compare/2.34.5...2.35.0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine-uk
3
- Version: 2.36.0
3
+ Version: 2.36.1
4
4
  Summary: PolicyEngine tax and benefit system for the UK
5
5
  Project-URL: Homepage, https://github.com/PolicyEngine/policyengine-uk
6
6
  Project-URL: Repository, https://github.com/PolicyEngine/policyengine-uk
@@ -5,7 +5,7 @@ policyengine_uk/modelled_policies.yaml,sha256=TLhvmkuI9ip-Fjq63n66RzDErCkN8K4BzY
5
5
  policyengine_uk/repo.py,sha256=-dqpIMUD7UUj94ql9XwaMrFJUYKvNhFQ_9uj83Z8uh0,55
6
6
  policyengine_uk/system.py,sha256=A17rqR23iIMdvskuucahMvGZnMxwzuTYqGiFGKRu9kE,8613
7
7
  policyengine_uk/data/__init__.py,sha256=9o7hH2qcHChfwDYq8Oqf2jE3b5WDS3TXJm3bf9VC4Ks,58
8
- policyengine_uk/data/dataset_schema.py,sha256=YVjYz5uN4HWkD-CD3WLWEsNmi6XTYDTp9BtHCDG-Ons,3680
8
+ policyengine_uk/data/dataset_schema.py,sha256=Ad7dt1zBQbL7nvZN2RoaucD5wj_zHkkFvTCpZXU8aN0,3694
9
9
  policyengine_uk/data/economic_assumptions.py,sha256=heEro-NYCszFzW-TJ3Vt3DUUrpDkysOpyvZVymJN3-8,5722
10
10
  policyengine_uk/data/uprating_growth_factors.csv,sha256=6H5dq02mRsSgBJ9cYe4lut3fsvVzJXL20FvwT7SnlVc,10378
11
11
  policyengine_uk/parameters/gov/README.md,sha256=bHUep1_2pLHD3Or8SwjStOWXDIbW9OuYxOd4ml8IXcM,13
@@ -1364,10 +1364,10 @@ policyengine_uk/variables/misc/spi_imputed.py,sha256=iPVlBF_TisM0rtKvO-3-PQ2UYCe
1364
1364
  policyengine_uk/variables/misc/uc_migrated.py,sha256=zFNcUJaO8gwmbL1iY9GKgUt3G6J9yrCraqBV_5dCvlM,306
1365
1365
  policyengine_uk/variables/misc/categories/lower_middle_or_higher.py,sha256=C54tHYz2DmOyvQYCC1bF8RJwRZinhAq_e3aYC-9F5fM,157
1366
1366
  policyengine_uk/variables/misc/categories/lower_or_higher.py,sha256=81NIbLLabRr9NwjpUZDuV8IV8_mqmp5NM-CZvt55TwE,129
1367
- policyengine_uk-2.36.0.data/data/share/openfisca/openfisca-country-template/CHANGELOG.md,sha256=atI8cKBwIzLuByemCjTrTe49wVtxQSOoqzUV2sdf7j8,55226
1368
- policyengine_uk-2.36.0.data/data/share/openfisca/openfisca-country-template/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1369
- policyengine_uk-2.36.0.data/data/share/openfisca/openfisca-country-template/README.md,sha256=PCy7LRLdUDQS8U4PaeHeBVnyBZAqHv1dAVDDvEcom20,1976
1370
- policyengine_uk-2.36.0.dist-info/METADATA,sha256=JXAeVXMsLWaQPss4LTndjK9mpCvGHJ9u2wiHlYEFpA0,3453
1371
- policyengine_uk-2.36.0.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1372
- policyengine_uk-2.36.0.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1373
- policyengine_uk-2.36.0.dist-info/RECORD,,
1367
+ policyengine_uk-2.36.1.data/data/share/openfisca/openfisca-country-template/CHANGELOG.md,sha256=m-ZT7wfCBbHi9WgVmDIhNNhPBA5zjAOUSdn3FzLBvgg,55384
1368
+ policyengine_uk-2.36.1.data/data/share/openfisca/openfisca-country-template/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1369
+ policyengine_uk-2.36.1.data/data/share/openfisca/openfisca-country-template/README.md,sha256=PCy7LRLdUDQS8U4PaeHeBVnyBZAqHv1dAVDDvEcom20,1976
1370
+ policyengine_uk-2.36.1.dist-info/METADATA,sha256=ODug4dKAhvlw8nUOuFoCngAgorw6BulDbr93nKFMsio,3453
1371
+ policyengine_uk-2.36.1.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
1372
+ policyengine_uk-2.36.1.dist-info/licenses/LICENSE,sha256=dql8h4yceoMhuzlcK0TT_i-NgTFNIZsgE47Q4t3dUYI,34520
1373
+ policyengine_uk-2.36.1.dist-info/RECORD,,