ssb-konjunk 0.1.15__py3-none-any.whl → 0.1.16__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.
- ssb_konjunk/statbank_format.py +3 -1
- {ssb_konjunk-0.1.15.dist-info → ssb_konjunk-0.1.16.dist-info}/METADATA +1 -1
- {ssb_konjunk-0.1.15.dist-info → ssb_konjunk-0.1.16.dist-info}/RECORD +6 -6
- {ssb_konjunk-0.1.15.dist-info → ssb_konjunk-0.1.16.dist-info}/LICENSE +0 -0
- {ssb_konjunk-0.1.15.dist-info → ssb_konjunk-0.1.16.dist-info}/WHEEL +0 -0
- {ssb_konjunk-0.1.15.dist-info → ssb_konjunk-0.1.16.dist-info}/entry_points.txt +0 -0
ssb_konjunk/statbank_format.py
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
import pandas as pd
|
|
2
2
|
|
|
3
|
+
from ssb_konjunk import prompts
|
|
4
|
+
|
|
3
5
|
|
|
4
6
|
def format_time_period(
|
|
5
7
|
df: pd.DataFrame,
|
|
@@ -23,7 +25,7 @@ def format_time_period(
|
|
|
23
25
|
if quarter != "" and month == "":
|
|
24
26
|
df[col_name] = f"{year}K{int(quarter)}"
|
|
25
27
|
elif quarter == "" and month != "":
|
|
26
|
-
df[col_name] = f"{year}M{
|
|
28
|
+
df[col_name] = f"{year}M{prompts.validate_month(month)}"
|
|
27
29
|
else:
|
|
28
30
|
df[col_name] = f"{year}"
|
|
29
31
|
|
|
@@ -7,11 +7,11 @@ ssb_konjunk/prompts.py,sha256=DsXmM4JWY3-WGb6ebj819zhaJ01JT8IL1226yadk724,9164
|
|
|
7
7
|
ssb_konjunk/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
8
8
|
ssb_konjunk/rounding.py,sha256=nbxYMvvFzoJOxwJBCA80OyaZGhhOHCxbndeYB271Uzk,1269
|
|
9
9
|
ssb_konjunk/saving.py,sha256=3lwYNnwh5Z-wbWJfiqaXwvsvya3zwBrEEE_3XejjtNI,14567
|
|
10
|
-
ssb_konjunk/statbank_format.py,sha256=
|
|
10
|
+
ssb_konjunk/statbank_format.py,sha256=cVXrq2qSuMk-FAiMdbIS8Cc8YgZUyTCKnsMdknMbfkM,1469
|
|
11
11
|
ssb_konjunk/timestamp.py,sha256=XPB5JhZQdDgUPYYNVAFiMZGe8dYL8seb_k98G9CNtjY,9960
|
|
12
12
|
ssb_konjunk/xml_handling.py,sha256=kvAZ699iOSxHCi2ksEGroFk60-ufsRW7b_m3j47A2gY,1726
|
|
13
|
-
ssb_konjunk-0.1.
|
|
14
|
-
ssb_konjunk-0.1.
|
|
15
|
-
ssb_konjunk-0.1.
|
|
16
|
-
ssb_konjunk-0.1.
|
|
17
|
-
ssb_konjunk-0.1.
|
|
13
|
+
ssb_konjunk-0.1.16.dist-info/LICENSE,sha256=np3IfD5m0ZUofn_kVzDZqliozuiO6wrktw3LRPjyEiI,1073
|
|
14
|
+
ssb_konjunk-0.1.16.dist-info/METADATA,sha256=eRvDsatdB6QKPv6Q3g7DaAniJfgZH8KjCR9AcB9MaN8,3966
|
|
15
|
+
ssb_konjunk-0.1.16.dist-info/WHEEL,sha256=Nq82e9rUAnEjt98J6MlVmMCZb-t9cYE2Ir1kpBmnWfs,88
|
|
16
|
+
ssb_konjunk-0.1.16.dist-info/entry_points.txt,sha256=qU7y58sZiFKYonuEJTbV0MhhbAJtposy46crLp4TjAM,57
|
|
17
|
+
ssb_konjunk-0.1.16.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|