tabpro 0.4.2__tar.gz → 0.4.3__tar.gz

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.
Files changed (29) hide show
  1. {tabpro-0.4.2 → tabpro-0.4.3}/PKG-INFO +1 -1
  2. {tabpro-0.4.2 → tabpro-0.4.3}/pyproject.toml +1 -1
  3. tabpro-0.4.3/tabpro/__init__.py +7 -0
  4. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/convert.py +1 -1
  5. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/merge.py +1 -0
  6. tabpro-0.4.2/tabpro/__init__.py +0 -7
  7. {tabpro-0.4.2 → tabpro-0.4.3}/LICENSE +0 -0
  8. {tabpro-0.4.2 → tabpro-0.4.3}/README.md +0 -0
  9. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/cli.py +0 -0
  10. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/commands/convert_tables.py +0 -0
  11. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/commands/merge_tables.py +0 -0
  12. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/actions.py +0 -0
  13. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/config.py +0 -0
  14. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/constants.py +0 -0
  15. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/functions/assign_id.py +0 -0
  16. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/functions/flatten_row.py +0 -0
  17. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/functions/get_nested_field_value.py +0 -0
  18. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/functions/nest_row.py +0 -0
  19. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/functions/search_column_value.py +0 -0
  20. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/functions/set_flat_field_value.py +0 -0
  21. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/functions/set_nested_field_value.py +0 -0
  22. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/functions/set_row_value.py +0 -0
  23. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/io/__init__.py +0 -0
  24. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/io/io_csv.py +0 -0
  25. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/io/io_excel.py +0 -0
  26. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/io/io_json.py +0 -0
  27. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/io/loader.py +0 -0
  28. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/io/saver.py +0 -0
  29. {tabpro-0.4.2 → tabpro-0.4.3}/tabpro/core/types.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: tabpro
3
- Version: 0.4.2
3
+ Version: 0.4.3
4
4
  Summary: A table data processor
5
5
  Home-page: https://github.com/akivajp/tabpro
6
6
  License: MIT
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "tabpro"
3
- version = "0.4.2"
3
+ version = "0.4.3"
4
4
  description = "A table data processor"
5
5
  authors = ["Akiva Miura <akiva.miura@gmail.com>"]
6
6
  license = "MIT"
@@ -0,0 +1,7 @@
1
+ __version__ = "0.4.3"
2
+ __version_tuple__ = (0, 4, 3)
3
+
4
+ from . core.io import (
5
+ load,
6
+ save,
7
+ )
@@ -140,7 +140,7 @@ def convert(
140
140
  # NOTE: NaN を None に変換しておかないと厄介
141
141
  df = df.replace([np.nan], [None])
142
142
  #ic(df)
143
- #ic(len(df))
143
+ ic(len(df))
144
144
  #ic(df.columns)
145
145
  #ic(df.iloc[0])
146
146
  #new_rows = []
@@ -180,5 +180,6 @@ def merge(
180
180
  if key not in set_modified_keys:
181
181
  remaining_rows.append(row)
182
182
  all_df = pd.DataFrame([row.flat for row in remaining_rows])
183
+ ic(len(remaining_rows))
183
184
  ic('Saving to: ', output_remaining_data_file)
184
185
  save(all_df, output_remaining_data_file)
@@ -1,7 +0,0 @@
1
- __version__ = "0.4.2"
2
- __version_tuple__ = (0, 4, 2)
3
-
4
- from . core.io import (
5
- load,
6
- save,
7
- )
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes