larray 0.35__tar.gz → 0.35.2__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 (121) hide show
  1. {larray-0.35/larray.egg-info → larray-0.35.2}/PKG-INFO +1 -1
  2. {larray-0.35 → larray-0.35.2}/larray/__init__.py +6 -3
  3. {larray-0.35 → larray-0.35.2}/larray/core/array.py +313 -429
  4. larray-0.35.2/larray/core/array_ops.py +203 -0
  5. {larray-0.35 → larray-0.35.2}/larray/core/axis.py +6 -1
  6. {larray-0.35 → larray-0.35.2}/larray/core/checked.py +92 -44
  7. {larray-0.35 → larray-0.35.2}/larray/core/group.py +35 -21
  8. {larray-0.35 → larray-0.35.2}/larray/core/session.py +68 -61
  9. {larray-0.35 → larray-0.35.2}/larray/core/ufuncs.py +80 -80
  10. {larray-0.35 → larray-0.35.2}/larray/extra/ipfp.py +5 -5
  11. {larray-0.35 → larray-0.35.2}/larray/inout/common.py +18 -16
  12. {larray-0.35 → larray-0.35.2}/larray/inout/csv.py +6 -1
  13. {larray-0.35 → larray-0.35.2}/larray/inout/hdf.py +24 -8
  14. {larray-0.35 → larray-0.35.2}/larray/inout/pandas.py +191 -40
  15. {larray-0.35 → larray-0.35.2}/larray/inout/stata.py +4 -1
  16. {larray-0.35 → larray-0.35.2}/larray/tests/common.py +35 -6
  17. {larray-0.35 → larray-0.35.2}/larray/tests/test_array.py +296 -72
  18. {larray-0.35 → larray-0.35.2}/larray/tests/test_axis.py +14 -5
  19. {larray-0.35 → larray-0.35.2}/larray/tests/test_checked_session.py +79 -23
  20. {larray-0.35 → larray-0.35.2}/larray/tests/test_group.py +40 -11
  21. {larray-0.35 → larray-0.35.2}/larray/tests/test_session.py +46 -18
  22. {larray-0.35 → larray-0.35.2}/larray/util/misc.py +95 -2
  23. larray-0.35.2/larray/util/plot.py +40 -0
  24. {larray-0.35 → larray-0.35.2/larray.egg-info}/PKG-INFO +1 -1
  25. {larray-0.35 → larray-0.35.2}/larray.egg-info/SOURCES.txt +1 -0
  26. {larray-0.35 → larray-0.35.2}/pyproject.toml +1 -1
  27. larray-0.35/larray/util/plot.py +0 -37
  28. {larray-0.35 → larray-0.35.2}/LICENSE +0 -0
  29. {larray-0.35 → larray-0.35.2}/MANIFEST.in +0 -0
  30. {larray-0.35 → larray-0.35.2}/README.rst +0 -0
  31. {larray-0.35 → larray-0.35.2}/larray/core/__init__.py +0 -0
  32. {larray-0.35 → larray-0.35.2}/larray/core/abstractbases.py +0 -0
  33. {larray-0.35 → larray-0.35.2}/larray/core/constants.py +0 -0
  34. {larray-0.35 → larray-0.35.2}/larray/core/expr.py +0 -0
  35. {larray-0.35 → larray-0.35.2}/larray/core/metadata.py +0 -0
  36. {larray-0.35 → larray-0.35.2}/larray/core/misc.py +0 -0
  37. {larray-0.35 → larray-0.35.2}/larray/core/npufuncs.py +0 -0
  38. {larray-0.35 → larray-0.35.2}/larray/core/plot.py +0 -0
  39. {larray-0.35 → larray-0.35.2}/larray/example.py +0 -0
  40. {larray-0.35 → larray-0.35.2}/larray/extra/__init__.py +0 -0
  41. {larray-0.35 → larray-0.35.2}/larray/inout/__init__.py +0 -0
  42. {larray-0.35 → larray-0.35.2}/larray/inout/excel.py +0 -0
  43. {larray-0.35 → larray-0.35.2}/larray/inout/misc.py +0 -0
  44. {larray-0.35 → larray-0.35.2}/larray/inout/pickle.py +0 -0
  45. {larray-0.35 → larray-0.35.2}/larray/inout/sas.py +0 -0
  46. {larray-0.35 → larray-0.35.2}/larray/inout/session.py +0 -0
  47. {larray-0.35 → larray-0.35.2}/larray/inout/xw_excel.py +0 -0
  48. {larray-0.35 → larray-0.35.2}/larray/inout/xw_reporting.py +0 -0
  49. {larray-0.35 → larray-0.35.2}/larray/ipfp/__init__.py +0 -0
  50. {larray-0.35 → larray-0.35.2}/larray/random.py +0 -0
  51. {larray-0.35 → larray-0.35.2}/larray/tests/__init__.py +0 -0
  52. {larray-0.35 → larray-0.35.2}/larray/tests/data/births_and_deaths.xlsx +0 -0
  53. {larray-0.35 → larray-0.35.2}/larray/tests/data/demography.h5 +0 -0
  54. {larray-0.35 → larray-0.35.2}/larray/tests/data/demography.xlsx +0 -0
  55. {larray-0.35 → larray-0.35.2}/larray/tests/data/demography_eurostat/__metadata__.csv +0 -0
  56. {larray-0.35 → larray-0.35.2}/larray/tests/data/demography_eurostat/births.csv +0 -0
  57. {larray-0.35 → larray-0.35.2}/larray/tests/data/demography_eurostat/deaths.csv +0 -0
  58. {larray-0.35 → larray-0.35.2}/larray/tests/data/demography_eurostat/immigration.csv +0 -0
  59. {larray-0.35 → larray-0.35.2}/larray/tests/data/demography_eurostat/population.csv +0 -0
  60. {larray-0.35 → larray-0.35.2}/larray/tests/data/demography_eurostat/population_5_countries.csv +0 -0
  61. {larray-0.35 → larray-0.35.2}/larray/tests/data/demography_eurostat/population_benelux.csv +0 -0
  62. {larray-0.35 → larray-0.35.2}/larray/tests/data/demography_eurostat.h5 +0 -0
  63. {larray-0.35 → larray-0.35.2}/larray/tests/data/demography_eurostat.xlsx +0 -0
  64. {larray-0.35 → larray-0.35.2}/larray/tests/data/examples/births.csv +0 -0
  65. {larray-0.35 → larray-0.35.2}/larray/tests/data/examples/deaths.csv +0 -0
  66. {larray-0.35 → larray-0.35.2}/larray/tests/data/examples/immigration.csv +0 -0
  67. {larray-0.35 → larray-0.35.2}/larray/tests/data/examples/population.csv +0 -0
  68. {larray-0.35 → larray-0.35.2}/larray/tests/data/examples/population_missing_axis_name.csv +0 -0
  69. {larray-0.35 → larray-0.35.2}/larray/tests/data/examples/population_missing_values.csv +0 -0
  70. {larray-0.35 → larray-0.35.2}/larray/tests/data/examples/population_narrow_format.csv +0 -0
  71. {larray-0.35 → larray-0.35.2}/larray/tests/data/examples.h5 +0 -0
  72. {larray-0.35 → larray-0.35.2}/larray/tests/data/examples.xlsx +0 -0
  73. {larray-0.35 → larray-0.35.2}/larray/tests/data/excel_with_links/BookA.xlsx +0 -0
  74. {larray-0.35 → larray-0.35.2}/larray/tests/data/excel_with_links/BookB.xlsx +0 -0
  75. {larray-0.35 → larray-0.35.2}/larray/tests/data/excel_with_links/BookC.xlsx +0 -0
  76. {larray-0.35 → larray-0.35.2}/larray/tests/data/hh.csv +0 -0
  77. {larray-0.35 → larray-0.35.2}/larray/tests/data/missing_axis_name.csv +0 -0
  78. {larray-0.35 → larray-0.35.2}/larray/tests/data/missing_values_3d.csv +0 -0
  79. {larray-0.35 → larray-0.35.2}/larray/tests/data/narrow_2d.csv +0 -0
  80. {larray-0.35 → larray-0.35.2}/larray/tests/data/pop.csv +0 -0
  81. {larray-0.35 → larray-0.35.2}/larray/tests/data/population_only.xlsx +0 -0
  82. {larray-0.35 → larray-0.35.2}/larray/tests/data/qx.csv +0 -0
  83. {larray-0.35 → larray-0.35.2}/larray/tests/data/test.h5 +0 -0
  84. {larray-0.35 → larray-0.35.2}/larray/tests/data/test.xlsx +0 -0
  85. {larray-0.35 → larray-0.35.2}/larray/tests/data/test1d.csv +0 -0
  86. {larray-0.35 → larray-0.35.2}/larray/tests/data/test1d_liam2.csv +0 -0
  87. {larray-0.35 → larray-0.35.2}/larray/tests/data/test1d_narrow.csv +0 -0
  88. {larray-0.35 → larray-0.35.2}/larray/tests/data/test2d.csv +0 -0
  89. {larray-0.35 → larray-0.35.2}/larray/tests/data/test2d_classic.csv +0 -0
  90. {larray-0.35 → larray-0.35.2}/larray/tests/data/test2d_classic_narrow.csv +0 -0
  91. {larray-0.35 → larray-0.35.2}/larray/tests/data/test2d_narrow.csv +0 -0
  92. {larray-0.35 → larray-0.35.2}/larray/tests/data/test3d.csv +0 -0
  93. {larray-0.35 → larray-0.35.2}/larray/tests/data/test3d_narrow.csv +0 -0
  94. {larray-0.35 → larray-0.35.2}/larray/tests/data/test5d_eurostat.csv +0 -0
  95. {larray-0.35 → larray-0.35.2}/larray/tests/data/test5d_liam2.csv +0 -0
  96. {larray-0.35 → larray-0.35.2}/larray/tests/data/test_blank_cells.xlsx +0 -0
  97. {larray-0.35 → larray-0.35.2}/larray/tests/data/test_narrow.xlsx +0 -0
  98. {larray-0.35 → larray-0.35.2}/larray/tests/data/test_session.h5 +0 -0
  99. {larray-0.35 → larray-0.35.2}/larray/tests/data/testint_labels.csv +0 -0
  100. {larray-0.35 → larray-0.35.2}/larray/tests/data/testint_labels_narrow.csv +0 -0
  101. {larray-0.35 → larray-0.35.2}/larray/tests/data/testmissing_values.csv +0 -0
  102. {larray-0.35 → larray-0.35.2}/larray/tests/data/testmissing_values_narrow.csv +0 -0
  103. {larray-0.35 → larray-0.35.2}/larray/tests/data/testunsorted.csv +0 -0
  104. {larray-0.35 → larray-0.35.2}/larray/tests/data/testunsorted_narrow.csv +0 -0
  105. {larray-0.35 → larray-0.35.2}/larray/tests/excel_template/Line.crtx +0 -0
  106. {larray-0.35 → larray-0.35.2}/larray/tests/excel_template/Line_Marker.crtx +0 -0
  107. {larray-0.35 → larray-0.35.2}/larray/tests/generate_data.py +0 -0
  108. {larray-0.35 → larray-0.35.2}/larray/tests/test_axiscollection.py +0 -0
  109. {larray-0.35 → larray-0.35.2}/larray/tests/test_example.py +0 -0
  110. {larray-0.35 → larray-0.35.2}/larray/tests/test_excel.py +0 -0
  111. {larray-0.35 → larray-0.35.2}/larray/tests/test_ipfp.py +0 -0
  112. {larray-0.35 → larray-0.35.2}/larray/tests/test_options.py +0 -0
  113. {larray-0.35 → larray-0.35.2}/larray/util/__init__.py +0 -0
  114. {larray-0.35 → larray-0.35.2}/larray/util/options.py +0 -0
  115. {larray-0.35 → larray-0.35.2}/larray/util/oset.py +0 -0
  116. {larray-0.35 → larray-0.35.2}/larray/util/types.py +0 -0
  117. {larray-0.35 → larray-0.35.2}/larray/viewer/__init__.py +0 -0
  118. {larray-0.35 → larray-0.35.2}/larray.egg-info/dependency_links.txt +0 -0
  119. {larray-0.35 → larray-0.35.2}/larray.egg-info/requires.txt +0 -0
  120. {larray-0.35 → larray-0.35.2}/larray.egg-info/top_level.txt +0 -0
  121. {larray-0.35 → larray-0.35.2}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: larray
3
- Version: 0.35
3
+ Version: 0.35.2
4
4
  Summary: N-D labeled arrays in Python
5
5
  Author: Geert Bryon, Johan Duyck
6
6
  Author-email: Gaetan de Menten <gdementen@gmail.com>, Alix Damman <ald@plan.be>
@@ -1,12 +1,11 @@
1
- __version__ = '0.35'
1
+ __version__ = '0.35.2'
2
2
 
3
3
 
4
4
  from larray.core.axis import Axis, AxisCollection, X
5
5
  from larray.core.group import Group, LGroup, LSet, IGroup, union
6
6
  from larray.core.array import (Array, zeros, zeros_like, ones, ones_like, empty, empty_like, full,
7
7
  full_like, sequence, labels_array, ndtest, asarray, identity, diag,
8
- eye, all, any, sum, prod, cumsum, cumprod, min, max, mean, ptp, var,
9
- std, median, percentile, stack, zip_array_values, zip_array_items)
8
+ eye, stack, zip_array_values, zip_array_items)
10
9
  from larray.core.session import Session, local_arrays, global_arrays, arrays
11
10
  from larray.core.checked import CheckedArray, CheckedSession, CheckedParameters
12
11
  from larray.core.constants import nan, inf, pi, e, euler_gamma
@@ -21,6 +20,10 @@ from larray.core.npufuncs import (sin, cos, tan, arcsin, arccos, arctan, hypot,
21
20
  convolve, clip, sqrt, absolute, fabs, sign, fmax, fmin,
22
21
  real_if_close, interp, isinf, inverse)
23
22
  from larray.core.misc import isscalar
23
+ from larray.core.array_ops import (
24
+ all, any, sum, prod, cumsum, cumprod, min, max, mean, median, percentile,
25
+ ptp, var, std
26
+ )
24
27
 
25
28
  from larray.inout.misc import from_lists, from_string
26
29
  from larray.inout.pandas import from_frame, from_series