# Converts a list of numpy arrays to a ndarray
```python
$ pip install listarray2ndarray
from listarray2ndarray import print_alldtypes, convert_to_all_possible_dtypes, la_to_ndarray
# All dtypes
print_alldtypes()
b - numpy.byte signed integer type, compatible with C char.
h - numpy.short Signed integer type, compatible with C short.
i - numpy.intc Signed integer type, compatible with C int.
l - numpy.int_ Signed integer type, compatible with Python int and C long.
q - class numpy.longlong Signed integer type, compatible with C long long.
B - numpy.ubyte Unsigned integer type, compatible with C unsigned char.
H - numpy.ushort Unsigned integer type, compatible with C unsigned short.
I - Unsigned integer type, compatible with C unsigned int.
L - Unsigned integer large enough to fit pointer, compatible with C uintptr_t.
Q - Signed integer type, compatible with C unsigned long long.
e - 16-bit-precision floating-point number type: sign bit, 5 bits exponent, 10 bits mantissa.
f - 32-bit-precision floating-point number type: sign bit, 8 bits exponent, 23 bits mantissa.
d - 64-bit precision floating-point number type: sign bit, 11 bits exponent, 52 bits mantissa.
g - 128-bit extended-precision floating-point number type.
F - Complex number type composed of 2 32-bit-precision floating-point numbers.
D - Complex number type composed of two double-precision floating-point numbers, compatible with Python complex.
G - Complex number type composed of 2 128-bit extended-precision floating-point numbers.
? - The bool_ type is not a subclass of the int_ type (the bool_ is not even a number type). This is different than Python’s default implementation of bool as a sub-class of int.
M - numpy.datetime64
m - A timedelta stored as a 64-bit integer.
O - Any Python object
S - When used in arrays, this type strips trailing null bytes.
U - Unlike the builtin str, this supports the Buffer Protocol, exposing its contents as UCS4:
V - Create a new structured or unstructured void scalar.
import numpy as np
with np.printoptions(threshold=10,linewidth=100,edgeitems=2):
np.linspace(0, 10, 10)
c = np.array(list(range(10000)))
b = np.array(list(range(9800, 20000)))
a = np.concatenate([c, b])
print(a)
bz = la_to_ndarray(a, continous_array=True, dtype=None)
print(bz)
print(bz.shape)
cax = [cc.reshape((10, -1)) for cc in np.split(c, 10)]
print(cax)
bz = la_to_ndarray(cax, continous_array=True, dtype="e")
print(bz)
print(bz.shape)
cax = [np.split(cc.reshape((10, -1)), 10) for cc in np.split(c, 10)]
print(cax)
bz = la_to_ndarray(cax, continous_array=True, dtype="i")
print(bz)
print(bz.shape)
ax = np.array(list(range(1000)))
adt = convert_to_all_possible_dtypes(
ax,
with_bit_variations=False,
continous_array=True,
ignore_dtypes=("M", "m", "O"),
ignore_bit=(), # ignored because with_bit_variations is False
)
print(adt)
adt2 = convert_to_all_possible_dtypes(
ax,
with_bit_variations=True,
continous_array=True,
ignore_dtypes=("M", "m", "O"),
ignore_bit=(64, 128, 256),
)
print(adt2)
cax = np.linspace(0, 100, 10000)
print(cax)
ra = la_to_ndarray(cax, continous_array=True, dtype="i4")
print(ra)
[ 0 1 ... 19998 19999]
[ 0 1 ... 19998 19999]
(20200,)
[array([[ 0, 1, ..., 98, 99],
[100, 101, ..., 198, 199],
...,
[800, 801, ..., 898, 899],
[900, 901, ..., 998, 999]]), array([[1000, 1001, ..., 1098, 1099],
[1100, 1101, ..., 1198, 1199],
...,
[1800, 1801, ..., 1898, 1899],
[1900, 1901, ..., 1998, 1999]]), array([[2000, 2001, ..., 2098, 2099],
[2100, 2101, ..., 2198, 2199],
...,
[2800, 2801, ..., 2898, 2899],
[2900, 2901, ..., 2998, 2999]]), array([[3000, 3001, ..., 3098, 3099],
[3100, 3101, ..., 3198, 3199],
...,
[3800, 3801, ..., 3898, 3899],
[3900, 3901, ..., 3998, 3999]]), array([[4000, 4001, ..., 4098, 4099],
[4100, 4101, ..., 4198, 4199],
...,
[4800, 4801, ..., 4898, 4899],
[4900, 4901, ..., 4998, 4999]]), array([[5000, 5001, ..., 5098, 5099],
[5100, 5101, ..., 5198, 5199],
...,
[5800, 5801, ..., 5898, 5899],
[5900, 5901, ..., 5998, 5999]]), array([[6000, 6001, ..., 6098, 6099],
[6100, 6101, ..., 6198, 6199],
...,
[6800, 6801, ..., 6898, 6899],
[6900, 6901, ..., 6998, 6999]]), array([[7000, 7001, ..., 7098, 7099],
[7100, 7101, ..., 7198, 7199],
...,
[7800, 7801, ..., 7898, 7899],
[7900, 7901, ..., 7998, 7999]]), array([[8000, 8001, ..., 8098, 8099],
[8100, 8101, ..., 8198, 8199],
...,
[8800, 8801, ..., 8898, 8899],
[8900, 8901, ..., 8998, 8999]]), array([[9000, 9001, ..., 9098, 9099],
[9100, 9101, ..., 9198, 9199],
...,
[9800, 9801, ..., 9898, 9899],
[9900, 9901, ..., 9998, 9999]])]
[[[0.000e+00 1.000e+03 ... 8.000e+03 9.000e+03]
[1.000e+00 1.001e+03 ... 8.000e+03 9.000e+03]
...
[9.800e+01 1.098e+03 ... 8.096e+03 9.096e+03]
[9.900e+01 1.099e+03 ... 8.100e+03 9.096e+03]]
[[1.000e+02 1.100e+03 ... 8.100e+03 9.104e+03]
[1.010e+02 1.101e+03 ... 8.100e+03 9.104e+03]
...
[1.980e+02 1.198e+03 ... 8.200e+03 9.200e+03]
[1.990e+02 1.199e+03 ... 8.200e+03 9.200e+03]]
...
[[8.000e+02 1.800e+03 ... 8.800e+03 9.800e+03]
[8.010e+02 1.801e+03 ... 8.800e+03 9.800e+03]
...
[8.980e+02 1.898e+03 ... 8.896e+03 9.896e+03]
[8.990e+02 1.899e+03 ... 8.896e+03 9.896e+03]]
[[9.000e+02 1.900e+03 ... 8.896e+03 9.904e+03]
[9.010e+02 1.901e+03 ... 8.904e+03 9.904e+03]
...
[9.980e+02 1.998e+03 ... 9.000e+03 1.000e+04]
[9.990e+02 1.999e+03 ... 9.000e+03 1.000e+04]]]
(10, 100, 10)
[[array([[ 0, 1, ..., 98, 99]]), array([[100, 101, ..., 198, 199]]), array([[200, 201, ..., 298, 299]]), array([[300, 301, ..., 398, 399]]), array([[400, 401, ..., 498, 499]]), array([[500, 501, ..., 598, 599]]), array([[600, 601, ..., 698, 699]]), array([[700, 701, ..., 798, 799]]), array([[800, 801, ..., 898, 899]]), array([[900, 901, ..., 998, 999]])], [array([[1000, 1001, ..., 1098, 1099]]), array([[1100, 1101, ..., 1198, 1199]]), array([[1200, 1201, ..., 1298, 1299]]), array([[1300, 1301, ..., 1398, 1399]]), array([[1400, 1401, ..., 1498, 1499]]), array([[1500, 1501, ..., 1598, 1599]]), array([[1600, 1601, ..., 1698, 1699]]), array([[1700, 1701, ..., 1798, 1799]]), array([[1800, 1801, ..., 1898, 1899]]), array([[1900, 1901, ..., 1998, 1999]])], [array([[2000, 2001, ..., 2098, 2099]]), array([[2100, 2101, ..., 2198, 2199]]), array([[2200, 2201, ..., 2298, 2299]]), array([[2300, 2301, ..., 2398, 2399]]), array([[2400, 2401, ..., 2498, 2499]]), array([[2500, 2501, ..., 2598, 2599]]), array([[2600, 2601, ..., 2698, 2699]]), array([[2700, 2701, ..., 2798, 2799]]), array([[2800, 2801, ..., 2898, 2899]]), array([[2900, 2901, ..., 2998, 2999]])], [array([[3000, 3001, ..., 3098, 3099]]), array([[3100, 3101, ..., 3198, 3199]]), array([[3200, 3201, ..., 3298, 3299]]), array([[3300, 3301, ..., 3398, 3399]]), array([[3400, 3401, ..., 3498, 3499]]), array([[3500, 3501, ..., 3598, 3599]]), array([[3600, 3601, ..., 3698, 3699]]), array([[3700, 3701, ..., 3798, 3799]]), array([[3800, 3801, ..., 3898, 3899]]), array([[3900, 3901, ..., 3998, 3999]])], [array([[4000, 4001, ..., 4098, 4099]]), array([[4100, 4101, ..., 4198, 4199]]), array([[4200, 4201, ..., 4298, 4299]]), array([[4300, 4301, ..., 4398, 4399]]), array([[4400, 4401, ..., 4498, 4499]]), array([[4500, 4501, ..., 4598, 4599]]), array([[4600, 4601, ..., 4698, 4699]]), array([[4700, 4701, ..., 4798, 4799]]), array([[4800, 4801, ..., 4898, 4899]]), array([[4900, 4901, ..., 4998, 4999]])], [array([[5000, 5001, ..., 5098, 5099]]), array([[5100, 5101, ..., 5198, 5199]]), array([[5200, 5201, ..., 5298, 5299]]), array([[5300, 5301, ..., 5398, 5399]]), array([[5400, 5401, ..., 5498, 5499]]), array([[5500, 5501, ..., 5598, 5599]]), array([[5600, 5601, ..., 5698, 5699]]), array([[5700, 5701, ..., 5798, 5799]]), array([[5800, 5801, ..., 5898, 5899]]), array([[5900, 5901, ..., 5998, 5999]])], [array([[6000, 6001, ..., 6098, 6099]]), array([[6100, 6101, ..., 6198, 6199]]), array([[6200, 6201, ..., 6298, 6299]]), array([[6300, 6301, ..., 6398, 6399]]), array([[6400, 6401, ..., 6498, 6499]]), array([[6500, 6501, ..., 6598, 6599]]), array([[6600, 6601, ..., 6698, 6699]]), array([[6700, 6701, ..., 6798, 6799]]), array([[6800, 6801, ..., 6898, 6899]]), array([[6900, 6901, ..., 6998, 6999]])], [array([[7000, 7001, ..., 7098, 7099]]), array([[7100, 7101, ..., 7198, 7199]]), array([[7200, 7201, ..., 7298, 7299]]), array([[7300, 7301, ..., 7398, 7399]]), array([[7400, 7401, ..., 7498, 7499]]), array([[7500, 7501, ..., 7598, 7599]]), array([[7600, 7601, ..., 7698, 7699]]), array([[7700, 7701, ..., 7798, 7799]]), array([[7800, 7801, ..., 7898, 7899]]), array([[7900, 7901, ..., 7998, 7999]])], [array([[8000, 8001, ..., 8098, 8099]]), array([[8100, 8101, ..., 8198, 8199]]), array([[8200, 8201, ..., 8298, 8299]]), array([[8300, 8301, ..., 8398, 8399]]), array([[8400, 8401, ..., 8498, 8499]]), array([[8500, 8501, ..., 8598, 8599]]), array([[8600, 8601, ..., 8698, 8699]]), array([[8700, 8701, ..., 8798, 8799]]), array([[8800, 8801, ..., 8898, 8899]]), array([[8900, 8901, ..., 8998, 8999]])], [array([[9000, 9001, ..., 9098, 9099]]), array([[9100, 9101, ..., 9198, 9199]]), array([[9200, 9201, ..., 9298, 9299]]), array([[9300, 9301, ..., 9398, 9399]]), array([[9400, 9401, ..., 9498, 9499]]), array([[9500, 9501, ..., 9598, 9599]]), array([[9600, 9601, ..., 9698, 9699]]), array([[9700, 9701, ..., 9798, 9799]]), array([[9800, 9801, ..., 9898, 9899]]), array([[9900, 9901, ..., 9998, 9999]])]]
[[[[ 0 1000 ... 8000 9000]
[ 1 1001 ... 8001 9001]
...
[ 98 1098 ... 8098 9098]
[ 99 1099 ... 8099 9099]]]
[[[ 100 1100 ... 8100 9100]
[ 101 1101 ... 8101 9101]
...
[ 198 1198 ... 8198 9198]
[ 199 1199 ... 8199 9199]]]
...
[[[ 800 1800 ... 8800 9800]
[ 801 1801 ... 8801 9801]
...
[ 898 1898 ... 8898 9898]
[ 899 1899 ... 8899 9899]]]
[[[ 900 1900 ... 8900 9900]
[ 901 1901 ... 8901 9901]
...
[ 998 1998 ... 8998 9998]
[ 999 1999 ... 8999 9999]]]]
(10, 1, 100, 10)
{'b': array([[[ 0, 1, ..., -26, -25]]], dtype=int8), 'h': array([[[ 0, 1, ..., 998, 999]]], dtype=int16), 'i': array([ 0, 1, ..., 998, 999], dtype=int32), 'l': array([ 0, 1, ..., 998, 999]), 'q': array([[[ 0, 1, ..., 998, 999]]], dtype=int64), 'B': array([[[ 0, 1, ..., 230, 231]]], dtype=uint8), 'H': array([[[ 0, 1, ..., 998, 999]]], dtype=uint16), 'I': array([ 0, 1, ..., 998, 999], dtype=uint32), 'L': array([ 0, 1, ..., 998, 999], dtype=uint32), 'Q': array([[[ 0, 1, ..., 998, 999]]], dtype=uint64), 'e': array([[[ 0., 1., ..., 998., 999.]]], dtype=float16), 'f': array([0.000e+00, 1.401e-45, ..., 1.398e-42, 1.400e-42], dtype=float32), 'd': array([[[ 0., 1., ..., 998., 999.]]]), 'g': array([[[ 0., 1., ..., 998., 999.]]], dtype=float64), 'F': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]], dtype=complex64), 'D': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]]), 'G': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]], dtype=complex128), '?': array([[[False, True, ..., True, True]]]), 'S': array([[[b'0', b'1', ..., b'998', b'999']]], dtype='|S11'), 'U': array(['\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0¡¢£¤¥¦§¨©ª«¬\xad®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğĠġĢģĤĥĦħĨĩĪīĬĭĮįİıIJijĴĵĶķĸĹĺĻļĽľĿŀŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞşŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽžſƀƁƂƃƄƅƆƇƈƉƊƋƌƍƎƏƐƑƒƓƔƕƖƗƘƙƚƛƜƝƞƟƠơƢƣƤƥƦƧƨƩƪƫƬƭƮƯưƱƲƳƴƵƶƷƸƹƺƻƼƽƾƿǀǁǂǃDŽDždžLJLjljNJNjnjǍǎǏǐǑǒǓǔǕǖǗǘǙǚǛǜǝǞǟǠǡǢǣǤǥǦǧǨǩǪǫǬǭǮǯǰDZDzdzǴǵǶǷǸǹǺǻǼǽǾǿȀȁȂȃȄȅȆȇȈȉȊȋȌȍȎȏȐȑȒȓȔȕȖȗȘșȚțȜȝȞȟȠȡȢȣȤȥȦȧȨȩȪȫȬȭȮȯȰȱȲȳȴȵȶȷȸȹȺȻȼȽȾȿɀɁɂɃɄɅɆɇɈɉɊɋɌɍɎɏɐɑɒɓɔɕɖɗɘəɚɛɜɝɞɟɠɡɢɣɤɥɦɧɨɩɪɫɬɭɮɯɰɱɲɳɴɵɶɷɸɹɺɻɼɽɾɿʀʁʂʃʄʅʆʇʈʉʊʋʌʍʎʏʐʑʒʓʔʕʖʗʘʙʚʛʜʝʞʟʠʡʢʣʤʥʦʧʨʩʪʫʬʭʮʯʰʱʲʳʴʵʶʷʸʹʺʻʼʽʾʿˀˁ˂˃˄˅ˆˇˈˉˊˋˌˍˎˏːˑ˒˓˔˕˖˗˘˙˚˛˜˝˞˟ˠˡˢˣˤ˥˦˧˨˩˪˫ˬ˭ˮ˯˰˱˲˳˴˵˶˷˸˹˺˻˼˽˾˿̴̵̶̷̸̡̢̧̨̛̖̗̘̙̜̝̞̟̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̳̹̺̻̼͇͈͉͍͎̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̐̑̒̓̔̽̾̿̀́͂̓̈́͆͊͋͌̕̚ͅ͏͓͔͕͖͙͚͐͑͒͗͛ͣͤͥͦͧͨͩͪͫͬͭͮͯ͘͜͟͢͝͞͠͡ͰͱͲͳʹ͵Ͷͷ\u0378\u0379ͺͻͼͽ;Ϳ\u0380\u0381\u0382\u0383΄΅Ά·ΈΉΊ\u038bΌ\u038dΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ\u03a2ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϏϐϑϒϓϔϕϖϗϘϙϚϛϜϝϞϟϠϡϢϣϤϥϦϧ'],
dtype='<U1000'), 'V': array([[[b'\x00\x00\x00\x00', b'\x01\x00\x00\x00', ..., b'\xE6\x03\x00\x00', b'\xE7\x03\x00\x00']]],
dtype='|V4')}
{'b': array([[[ 0, 1, ..., -26, -25]]], dtype=int8), 'h': array([[[ 0, 1, ..., 998, 999]]], dtype=int16), 'i': array([ 0, 1, ..., 998, 999], dtype=int32), 'i8': array([[[ 0, 1, ..., 998, 999]]], dtype=int64), 'l': array([ 0, 1, ..., 998, 999]), 'q': array([[[ 0, 1, ..., 998, 999]]], dtype=int64), 'B': array([[[ 0, 1, ..., 230, 231]]], dtype=uint8), 'H': array([[[ 0, 1, ..., 998, 999]]], dtype=uint16), 'I': array([ 0, 1, ..., 998, 999], dtype=uint32), 'L': array([ 0, 1, ..., 998, 999], dtype=uint32), 'Q': array([[[ 0, 1, ..., 998, 999]]], dtype=uint64), 'e': array([[[ 0., 1., ..., 998., 999.]]], dtype=float16), 'f': array([0.000e+00, 1.401e-45, ..., 1.398e-42, 1.400e-42], dtype=float32), 'f8': array([[[ 0., 1., ..., 998., 999.]]]), 'd': array([[[ 0., 1., ..., 998., 999.]]]), 'g': array([[[ 0., 1., ..., 998., 999.]]], dtype=float64), 'F': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]], dtype=complex64), 'D': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]]), 'G': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]], dtype=complex128), '?': array([[[False, True, ..., True, True]]]), 'S': array([[[b'0', b'1', ..., b'998', b'999']]], dtype='|S11'), 'S8': array([[[b'0', b'1', ..., b'998', b'999']]], dtype='|S8'), 'S16': array([[[b'0', b'1', ..., b'998', b'999']]], dtype='|S16'), 'S32': array([[[b'0', b'1', ..., b'998', b'999']]], dtype='|S32'), 'U': array(['\x00\x01\x02\x03\x04\x05\x06\x07\x08\t\n\x0b\x0c\r\x0e\x0f\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1a\x1b\x1c\x1d\x1e\x1f !"#$%&\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\x7f\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8a\x8b\x8c\x8d\x8e\x8f\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9a\x9b\x9c\x9d\x9e\x9f\xa0¡¢£¤¥¦§¨©ª«¬\xad®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿĀāĂ㥹ĆćĈĉĊċČčĎďĐđĒēĔĕĖėĘęĚěĜĝĞğĠġĢģĤĥĦħĨĩĪīĬĭĮįİıIJijĴĵĶķĸĹĺĻļĽľĿŀŁłŃńŅņŇňʼnŊŋŌōŎŏŐőŒœŔŕŖŗŘřŚśŜŝŞşŠšŢţŤťŦŧŨũŪūŬŭŮůŰűŲųŴŵŶŷŸŹźŻżŽžſƀƁƂƃƄƅƆƇƈƉƊƋƌƍƎƏƐƑƒƓƔƕƖƗƘƙƚƛƜƝƞƟƠơƢƣƤƥƦƧƨƩƪƫƬƭƮƯưƱƲƳƴƵƶƷƸƹƺƻƼƽƾƿǀǁǂǃDŽDždžLJLjljNJNjnjǍǎǏǐǑǒǓǔǕǖǗǘǙǚǛǜǝǞǟǠǡǢǣǤǥǦǧǨǩǪǫǬǭǮǯǰDZDzdzǴǵǶǷǸǹǺǻǼǽǾǿȀȁȂȃȄȅȆȇȈȉȊȋȌȍȎȏȐȑȒȓȔȕȖȗȘșȚțȜȝȞȟȠȡȢȣȤȥȦȧȨȩȪȫȬȭȮȯȰȱȲȳȴȵȶȷȸȹȺȻȼȽȾȿɀɁɂɃɄɅɆɇɈɉɊɋɌɍɎɏɐɑɒɓɔɕɖɗɘəɚɛɜɝɞɟɠɡɢɣɤɥɦɧɨɩɪɫɬɭɮɯɰɱɲɳɴɵɶɷɸɹɺɻɼɽɾɿʀʁʂʃʄʅʆʇʈʉʊʋʌʍʎʏʐʑʒʓʔʕʖʗʘʙʚʛʜʝʞʟʠʡʢʣʤʥʦʧʨʩʪʫʬʭʮʯʰʱʲʳʴʵʶʷʸʹʺʻʼʽʾʿˀˁ˂˃˄˅ˆˇˈˉˊˋˌˍˎˏːˑ˒˓˔˕˖˗˘˙˚˛˜˝˞˟ˠˡˢˣˤ˥˦˧˨˩˪˫ˬ˭ˮ˯˰˱˲˳˴˵˶˷˸˹˺˻˼˽˾˿̴̵̶̷̸̡̢̧̨̛̖̗̘̙̜̝̞̟̠̣̤̥̦̩̪̫̬̭̮̯̰̱̲̳̹̺̻̼͇͈͉͍͎̀́̂̃̄̅̆̇̈̉̊̋̌̍̎̏̐̑̒̓̔̽̾̿̀́͂̓̈́͆͊͋͌̕̚ͅ͏͓͔͕͖͙͚͐͑͒͗͛ͣͤͥͦͧͨͩͪͫͬͭͮͯ͘͜͟͢͝͞͠͡ͰͱͲͳʹ͵Ͷͷ\u0378\u0379ͺͻͼͽ;Ϳ\u0380\u0381\u0382\u0383΄΅Ά·ΈΉΊ\u038bΌ\u038dΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ\u03a2ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώϏϐϑϒϓϔϕϖϗϘϙϚϛϜϝϞϟϠϡϢϣϤϥϦϧ'],
dtype='<U1000'), 'U8': array([[['0', '1', ..., '998', '999']]], dtype='<U8'), 'U16': array([[['0', '1', ..., '998', '999']]], dtype='<U16'), 'U32': array([[['0', '1', ..., '998', '999']]], dtype='<U32'), 'V': array([[[b'\x00\x00\x00\x00', b'\x01\x00\x00\x00', ..., b'\xE6\x03\x00\x00', b'\xE7\x03\x00\x00']]],
dtype='|V4'), 'V8': array([[[b'\x00\x00\x00\x00\x00\x00\x00\x00', b'\x01\x00\x00\x00\x00\x00\x00\x00', ...,
b'\xE6\x03\x00\x00\x00\x00\x00\x00', b'\xE7\x03\x00\x00\x00\x00\x00\x00']]], dtype='|V8'), 'V16': array([[[b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00', ...,
b'\xE6\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'\xE7\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00']]], dtype='|V16'), 'V32': array([[[b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'\x01\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
...,
b'\xE6\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00',
b'\xE7\x03\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00']]],
dtype='|V32')}
[0.00000000e+00 1.00010001e-02 ... 9.99899990e+01 1.00000000e+02]
[[[ 0 0 ... 99 100]]]
```
Raw data
{
"_id": null,
"home_page": "https://github.com/hansalemaos/listarray2ndarray",
"name": "listarray2ndarray",
"maintainer": "",
"docs_url": null,
"requires_python": "",
"maintainer_email": "",
"keywords": "numpy,list,convert",
"author": "Johannes Fischer",
"author_email": "<aulasparticularesdealemaosp@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/b4/ff/d6a6bfc92b17d19ed9a350b739c9128ffc84ba722b37d7ef16973abdc01e/listarray2ndarray-0.10.tar.gz",
"platform": null,
"description": "\n# Converts a list of numpy arrays to a ndarray\n\n\n\n\n\n\n\n```python \n\n$ pip install listarray2ndarray\n\nfrom listarray2ndarray import print_alldtypes, convert_to_all_possible_dtypes, la_to_ndarray\n\n\n\n# All dtypes\n\nprint_alldtypes() \n\n\n\nb - numpy.byte signed integer type, compatible with C char.\n\nh - numpy.short Signed integer type, compatible with C short.\n\ni - numpy.intc Signed integer type, compatible with C int.\n\nl - numpy.int_ Signed integer type, compatible with Python int and C long.\n\nq - class numpy.longlong Signed integer type, compatible with C long long.\n\nB - numpy.ubyte Unsigned integer type, compatible with C unsigned char.\n\nH - numpy.ushort Unsigned integer type, compatible with C unsigned short.\n\nI - Unsigned integer type, compatible with C unsigned int.\n\nL - Unsigned integer large enough to fit pointer, compatible with C uintptr_t.\n\nQ - Signed integer type, compatible with C unsigned long long.\n\ne - 16-bit-precision floating-point number type: sign bit, 5 bits exponent, 10 bits mantissa.\n\nf - 32-bit-precision floating-point number type: sign bit, 8 bits exponent, 23 bits mantissa.\n\nd - 64-bit precision floating-point number type: sign bit, 11 bits exponent, 52 bits mantissa.\n\ng - 128-bit extended-precision floating-point number type.\n\nF - Complex number type composed of 2 32-bit-precision floating-point numbers.\n\nD - Complex number type composed of two double-precision floating-point numbers, compatible with Python complex.\n\nG - Complex number type composed of 2 128-bit extended-precision floating-point numbers.\n\n? - The bool_ type is not a subclass of the int_ type (the bool_ is not even a number type). This is different than Python\u2019s default implementation of bool as a sub-class of int.\n\nM - numpy.datetime64\n\nm - A timedelta stored as a 64-bit integer.\n\nO - Any Python object\n\nS - When used in arrays, this type strips trailing null bytes.\n\nU - Unlike the builtin str, this supports the Buffer Protocol, exposing its contents as UCS4:\n\nV - Create a new structured or unstructured void scalar.\n\n\n\n\n\nimport numpy as np\n\nwith np.printoptions(threshold=10,linewidth=100,edgeitems=2):\n\n np.linspace(0, 10, 10)\n\n c = np.array(list(range(10000)))\n\n b = np.array(list(range(9800, 20000)))\n\n a = np.concatenate([c, b])\n\n print(a)\n\n bz = la_to_ndarray(a, continous_array=True, dtype=None)\n\n print(bz)\n\n print(bz.shape)\n\n cax = [cc.reshape((10, -1)) for cc in np.split(c, 10)]\n\n print(cax)\n\n bz = la_to_ndarray(cax, continous_array=True, dtype=\"e\")\n\n print(bz)\n\n print(bz.shape)\n\n cax = [np.split(cc.reshape((10, -1)), 10) for cc in np.split(c, 10)]\n\n print(cax)\n\n bz = la_to_ndarray(cax, continous_array=True, dtype=\"i\")\n\n print(bz)\n\n print(bz.shape)\n\n\n\n ax = np.array(list(range(1000)))\n\n adt = convert_to_all_possible_dtypes(\n\n ax,\n\n with_bit_variations=False,\n\n continous_array=True,\n\n ignore_dtypes=(\"M\", \"m\", \"O\"),\n\n ignore_bit=(), # ignored because with_bit_variations is False\n\n )\n\n print(adt)\n\n adt2 = convert_to_all_possible_dtypes(\n\n ax,\n\n with_bit_variations=True,\n\n continous_array=True,\n\n ignore_dtypes=(\"M\", \"m\", \"O\"),\n\n ignore_bit=(64, 128, 256),\n\n )\n\n print(adt2)\n\n cax = np.linspace(0, 100, 10000)\n\n print(cax)\n\n ra = la_to_ndarray(cax, continous_array=True, dtype=\"i4\")\n\n print(ra)\n\n\n\n\n\n[ 0 1 ... 19998 19999]\n\n[ 0 1 ... 19998 19999]\n\n(20200,)\n\n[array([[ 0, 1, ..., 98, 99],\n\n [100, 101, ..., 198, 199],\n\n ...,\n\n [800, 801, ..., 898, 899],\n\n [900, 901, ..., 998, 999]]), array([[1000, 1001, ..., 1098, 1099],\n\n [1100, 1101, ..., 1198, 1199],\n\n ...,\n\n [1800, 1801, ..., 1898, 1899],\n\n [1900, 1901, ..., 1998, 1999]]), array([[2000, 2001, ..., 2098, 2099],\n\n [2100, 2101, ..., 2198, 2199],\n\n ...,\n\n [2800, 2801, ..., 2898, 2899],\n\n [2900, 2901, ..., 2998, 2999]]), array([[3000, 3001, ..., 3098, 3099],\n\n [3100, 3101, ..., 3198, 3199],\n\n ...,\n\n [3800, 3801, ..., 3898, 3899],\n\n [3900, 3901, ..., 3998, 3999]]), array([[4000, 4001, ..., 4098, 4099],\n\n [4100, 4101, ..., 4198, 4199],\n\n ...,\n\n [4800, 4801, ..., 4898, 4899],\n\n [4900, 4901, ..., 4998, 4999]]), array([[5000, 5001, ..., 5098, 5099],\n\n [5100, 5101, ..., 5198, 5199],\n\n ...,\n\n [5800, 5801, ..., 5898, 5899],\n\n [5900, 5901, ..., 5998, 5999]]), array([[6000, 6001, ..., 6098, 6099],\n\n [6100, 6101, ..., 6198, 6199],\n\n ...,\n\n [6800, 6801, ..., 6898, 6899],\n\n [6900, 6901, ..., 6998, 6999]]), array([[7000, 7001, ..., 7098, 7099],\n\n [7100, 7101, ..., 7198, 7199],\n\n ...,\n\n [7800, 7801, ..., 7898, 7899],\n\n [7900, 7901, ..., 7998, 7999]]), array([[8000, 8001, ..., 8098, 8099],\n\n [8100, 8101, ..., 8198, 8199],\n\n ...,\n\n [8800, 8801, ..., 8898, 8899],\n\n [8900, 8901, ..., 8998, 8999]]), array([[9000, 9001, ..., 9098, 9099],\n\n [9100, 9101, ..., 9198, 9199],\n\n ...,\n\n [9800, 9801, ..., 9898, 9899],\n\n [9900, 9901, ..., 9998, 9999]])]\n\n[[[0.000e+00 1.000e+03 ... 8.000e+03 9.000e+03]\n\n [1.000e+00 1.001e+03 ... 8.000e+03 9.000e+03]\n\n ...\n\n [9.800e+01 1.098e+03 ... 8.096e+03 9.096e+03]\n\n [9.900e+01 1.099e+03 ... 8.100e+03 9.096e+03]]\n\n [[1.000e+02 1.100e+03 ... 8.100e+03 9.104e+03]\n\n [1.010e+02 1.101e+03 ... 8.100e+03 9.104e+03]\n\n ...\n\n [1.980e+02 1.198e+03 ... 8.200e+03 9.200e+03]\n\n [1.990e+02 1.199e+03 ... 8.200e+03 9.200e+03]]\n\n ...\n\n [[8.000e+02 1.800e+03 ... 8.800e+03 9.800e+03]\n\n [8.010e+02 1.801e+03 ... 8.800e+03 9.800e+03]\n\n ...\n\n [8.980e+02 1.898e+03 ... 8.896e+03 9.896e+03]\n\n [8.990e+02 1.899e+03 ... 8.896e+03 9.896e+03]]\n\n [[9.000e+02 1.900e+03 ... 8.896e+03 9.904e+03]\n\n [9.010e+02 1.901e+03 ... 8.904e+03 9.904e+03]\n\n ...\n\n [9.980e+02 1.998e+03 ... 9.000e+03 1.000e+04]\n\n [9.990e+02 1.999e+03 ... 9.000e+03 1.000e+04]]]\n\n(10, 100, 10)\n\n[[array([[ 0, 1, ..., 98, 99]]), array([[100, 101, ..., 198, 199]]), array([[200, 201, ..., 298, 299]]), array([[300, 301, ..., 398, 399]]), array([[400, 401, ..., 498, 499]]), array([[500, 501, ..., 598, 599]]), array([[600, 601, ..., 698, 699]]), array([[700, 701, ..., 798, 799]]), array([[800, 801, ..., 898, 899]]), array([[900, 901, ..., 998, 999]])], [array([[1000, 1001, ..., 1098, 1099]]), array([[1100, 1101, ..., 1198, 1199]]), array([[1200, 1201, ..., 1298, 1299]]), array([[1300, 1301, ..., 1398, 1399]]), array([[1400, 1401, ..., 1498, 1499]]), array([[1500, 1501, ..., 1598, 1599]]), array([[1600, 1601, ..., 1698, 1699]]), array([[1700, 1701, ..., 1798, 1799]]), array([[1800, 1801, ..., 1898, 1899]]), array([[1900, 1901, ..., 1998, 1999]])], [array([[2000, 2001, ..., 2098, 2099]]), array([[2100, 2101, ..., 2198, 2199]]), array([[2200, 2201, ..., 2298, 2299]]), array([[2300, 2301, ..., 2398, 2399]]), array([[2400, 2401, ..., 2498, 2499]]), array([[2500, 2501, ..., 2598, 2599]]), array([[2600, 2601, ..., 2698, 2699]]), array([[2700, 2701, ..., 2798, 2799]]), array([[2800, 2801, ..., 2898, 2899]]), array([[2900, 2901, ..., 2998, 2999]])], [array([[3000, 3001, ..., 3098, 3099]]), array([[3100, 3101, ..., 3198, 3199]]), array([[3200, 3201, ..., 3298, 3299]]), array([[3300, 3301, ..., 3398, 3399]]), array([[3400, 3401, ..., 3498, 3499]]), array([[3500, 3501, ..., 3598, 3599]]), array([[3600, 3601, ..., 3698, 3699]]), array([[3700, 3701, ..., 3798, 3799]]), array([[3800, 3801, ..., 3898, 3899]]), array([[3900, 3901, ..., 3998, 3999]])], [array([[4000, 4001, ..., 4098, 4099]]), array([[4100, 4101, ..., 4198, 4199]]), array([[4200, 4201, ..., 4298, 4299]]), array([[4300, 4301, ..., 4398, 4399]]), array([[4400, 4401, ..., 4498, 4499]]), array([[4500, 4501, ..., 4598, 4599]]), array([[4600, 4601, ..., 4698, 4699]]), array([[4700, 4701, ..., 4798, 4799]]), array([[4800, 4801, ..., 4898, 4899]]), array([[4900, 4901, ..., 4998, 4999]])], [array([[5000, 5001, ..., 5098, 5099]]), array([[5100, 5101, ..., 5198, 5199]]), array([[5200, 5201, ..., 5298, 5299]]), array([[5300, 5301, ..., 5398, 5399]]), array([[5400, 5401, ..., 5498, 5499]]), array([[5500, 5501, ..., 5598, 5599]]), array([[5600, 5601, ..., 5698, 5699]]), array([[5700, 5701, ..., 5798, 5799]]), array([[5800, 5801, ..., 5898, 5899]]), array([[5900, 5901, ..., 5998, 5999]])], [array([[6000, 6001, ..., 6098, 6099]]), array([[6100, 6101, ..., 6198, 6199]]), array([[6200, 6201, ..., 6298, 6299]]), array([[6300, 6301, ..., 6398, 6399]]), array([[6400, 6401, ..., 6498, 6499]]), array([[6500, 6501, ..., 6598, 6599]]), array([[6600, 6601, ..., 6698, 6699]]), array([[6700, 6701, ..., 6798, 6799]]), array([[6800, 6801, ..., 6898, 6899]]), array([[6900, 6901, ..., 6998, 6999]])], [array([[7000, 7001, ..., 7098, 7099]]), array([[7100, 7101, ..., 7198, 7199]]), array([[7200, 7201, ..., 7298, 7299]]), array([[7300, 7301, ..., 7398, 7399]]), array([[7400, 7401, ..., 7498, 7499]]), array([[7500, 7501, ..., 7598, 7599]]), array([[7600, 7601, ..., 7698, 7699]]), array([[7700, 7701, ..., 7798, 7799]]), array([[7800, 7801, ..., 7898, 7899]]), array([[7900, 7901, ..., 7998, 7999]])], [array([[8000, 8001, ..., 8098, 8099]]), array([[8100, 8101, ..., 8198, 8199]]), array([[8200, 8201, ..., 8298, 8299]]), array([[8300, 8301, ..., 8398, 8399]]), array([[8400, 8401, ..., 8498, 8499]]), array([[8500, 8501, ..., 8598, 8599]]), array([[8600, 8601, ..., 8698, 8699]]), array([[8700, 8701, ..., 8798, 8799]]), array([[8800, 8801, ..., 8898, 8899]]), array([[8900, 8901, ..., 8998, 8999]])], [array([[9000, 9001, ..., 9098, 9099]]), array([[9100, 9101, ..., 9198, 9199]]), array([[9200, 9201, ..., 9298, 9299]]), array([[9300, 9301, ..., 9398, 9399]]), array([[9400, 9401, ..., 9498, 9499]]), array([[9500, 9501, ..., 9598, 9599]]), array([[9600, 9601, ..., 9698, 9699]]), array([[9700, 9701, ..., 9798, 9799]]), array([[9800, 9801, ..., 9898, 9899]]), array([[9900, 9901, ..., 9998, 9999]])]]\n\n[[[[ 0 1000 ... 8000 9000]\n\n [ 1 1001 ... 8001 9001]\n\n ...\n\n [ 98 1098 ... 8098 9098]\n\n [ 99 1099 ... 8099 9099]]]\n\n [[[ 100 1100 ... 8100 9100]\n\n [ 101 1101 ... 8101 9101]\n\n ...\n\n [ 198 1198 ... 8198 9198]\n\n [ 199 1199 ... 8199 9199]]]\n\n ...\n\n [[[ 800 1800 ... 8800 9800]\n\n [ 801 1801 ... 8801 9801]\n\n ...\n\n [ 898 1898 ... 8898 9898]\n\n [ 899 1899 ... 8899 9899]]]\n\n [[[ 900 1900 ... 8900 9900]\n\n [ 901 1901 ... 8901 9901]\n\n ...\n\n [ 998 1998 ... 8998 9998]\n\n [ 999 1999 ... 8999 9999]]]]\n\n(10, 1, 100, 10)\n\n{'b': array([[[ 0, 1, ..., -26, -25]]], dtype=int8), 'h': array([[[ 0, 1, ..., 998, 999]]], dtype=int16), 'i': array([ 0, 1, ..., 998, 999], dtype=int32), 'l': array([ 0, 1, ..., 998, 999]), 'q': array([[[ 0, 1, ..., 998, 999]]], dtype=int64), 'B': array([[[ 0, 1, ..., 230, 231]]], dtype=uint8), 'H': array([[[ 0, 1, ..., 998, 999]]], dtype=uint16), 'I': array([ 0, 1, ..., 998, 999], dtype=uint32), 'L': array([ 0, 1, ..., 998, 999], dtype=uint32), 'Q': array([[[ 0, 1, ..., 998, 999]]], dtype=uint64), 'e': array([[[ 0., 1., ..., 998., 999.]]], dtype=float16), 'f': array([0.000e+00, 1.401e-45, ..., 1.398e-42, 1.400e-42], dtype=float32), 'd': array([[[ 0., 1., ..., 998., 999.]]]), 'g': array([[[ 0., 1., ..., 998., 999.]]], dtype=float64), 'F': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]], dtype=complex64), 'D': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]]), 'G': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]], dtype=complex128), '?': array([[[False, True, ..., True, True]]]), 'S': array([[[b'0', b'1', ..., b'998', b'999']]], dtype='|S11'), 'U': array(['\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\t\\n\\x0b\\x0c\\r\\x0e\\x0f\\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17\\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f !\"#$%&\\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\x7f\\x80\\x81\\x82\\x83\\x84\\x85\\x86\\x87\\x88\\x89\\x8a\\x8b\\x8c\\x8d\\x8e\\x8f\\x90\\x91\\x92\\x93\\x94\\x95\\x96\\x97\\x98\\x99\\x9a\\x9b\\x9c\\x9d\\x9e\\x9f\\xa0\u00a1\u00a2\u00a3\u00a4\u00a5\u00a6\u00a7\u00a8\u00a9\u00aa\u00ab\u00ac\\xad\u00ae\u00af\u00b0\u00b1\u00b2\u00b3\u00b4\u00b5\u00b6\u00b7\u00b8\u00b9\u00ba\u00bb\u00bc\u00bd\u00be\u00bf\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d7\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u00df\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f7\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u0100\u0101\u0102\u0103\u0104\u0105\u0106\u0107\u0108\u0109\u010a\u010b\u010c\u010d\u010e\u010f\u0110\u0111\u0112\u0113\u0114\u0115\u0116\u0117\u0118\u0119\u011a\u011b\u011c\u011d\u011e\u011f\u0120\u0121\u0122\u0123\u0124\u0125\u0126\u0127\u0128\u0129\u012a\u012b\u012c\u012d\u012e\u012f\u0130\u0131\u0132\u0133\u0134\u0135\u0136\u0137\u0138\u0139\u013a\u013b\u013c\u013d\u013e\u013f\u0140\u0141\u0142\u0143\u0144\u0145\u0146\u0147\u0148\u0149\u014a\u014b\u014c\u014d\u014e\u014f\u0150\u0151\u0152\u0153\u0154\u0155\u0156\u0157\u0158\u0159\u015a\u015b\u015c\u015d\u015e\u015f\u0160\u0161\u0162\u0163\u0164\u0165\u0166\u0167\u0168\u0169\u016a\u016b\u016c\u016d\u016e\u016f\u0170\u0171\u0172\u0173\u0174\u0175\u0176\u0177\u0178\u0179\u017a\u017b\u017c\u017d\u017e\u017f\u0180\u0181\u0182\u0183\u0184\u0185\u0186\u0187\u0188\u0189\u018a\u018b\u018c\u018d\u018e\u018f\u0190\u0191\u0192\u0193\u0194\u0195\u0196\u0197\u0198\u0199\u019a\u019b\u019c\u019d\u019e\u019f\u01a0\u01a1\u01a2\u01a3\u01a4\u01a5\u01a6\u01a7\u01a8\u01a9\u01aa\u01ab\u01ac\u01ad\u01ae\u01af\u01b0\u01b1\u01b2\u01b3\u01b4\u01b5\u01b6\u01b7\u01b8\u01b9\u01ba\u01bb\u01bc\u01bd\u01be\u01bf\u01c0\u01c1\u01c2\u01c3\u01c4\u01c5\u01c6\u01c7\u01c8\u01c9\u01ca\u01cb\u01cc\u01cd\u01ce\u01cf\u01d0\u01d1\u01d2\u01d3\u01d4\u01d5\u01d6\u01d7\u01d8\u01d9\u01da\u01db\u01dc\u01dd\u01de\u01df\u01e0\u01e1\u01e2\u01e3\u01e4\u01e5\u01e6\u01e7\u01e8\u01e9\u01ea\u01eb\u01ec\u01ed\u01ee\u01ef\u01f0\u01f1\u01f2\u01f3\u01f4\u01f5\u01f6\u01f7\u01f8\u01f9\u01fa\u01fb\u01fc\u01fd\u01fe\u01ff\u0200\u0201\u0202\u0203\u0204\u0205\u0206\u0207\u0208\u0209\u020a\u020b\u020c\u020d\u020e\u020f\u0210\u0211\u0212\u0213\u0214\u0215\u0216\u0217\u0218\u0219\u021a\u021b\u021c\u021d\u021e\u021f\u0220\u0221\u0222\u0223\u0224\u0225\u0226\u0227\u0228\u0229\u022a\u022b\u022c\u022d\u022e\u022f\u0230\u0231\u0232\u0233\u0234\u0235\u0236\u0237\u0238\u0239\u023a\u023b\u023c\u023d\u023e\u023f\u0240\u0241\u0242\u0243\u0244\u0245\u0246\u0247\u0248\u0249\u024a\u024b\u024c\u024d\u024e\u024f\u0250\u0251\u0252\u0253\u0254\u0255\u0256\u0257\u0258\u0259\u025a\u025b\u025c\u025d\u025e\u025f\u0260\u0261\u0262\u0263\u0264\u0265\u0266\u0267\u0268\u0269\u026a\u026b\u026c\u026d\u026e\u026f\u0270\u0271\u0272\u0273\u0274\u0275\u0276\u0277\u0278\u0279\u027a\u027b\u027c\u027d\u027e\u027f\u0280\u0281\u0282\u0283\u0284\u0285\u0286\u0287\u0288\u0289\u028a\u028b\u028c\u028d\u028e\u028f\u0290\u0291\u0292\u0293\u0294\u0295\u0296\u0297\u0298\u0299\u029a\u029b\u029c\u029d\u029e\u029f\u02a0\u02a1\u02a2\u02a3\u02a4\u02a5\u02a6\u02a7\u02a8\u02a9\u02aa\u02ab\u02ac\u02ad\u02ae\u02af\u02b0\u02b1\u02b2\u02b3\u02b4\u02b5\u02b6\u02b7\u02b8\u02b9\u02ba\u02bb\u02bc\u02bd\u02be\u02bf\u02c0\u02c1\u02c2\u02c3\u02c4\u02c5\u02c6\u02c7\u02c8\u02c9\u02ca\u02cb\u02cc\u02cd\u02ce\u02cf\u02d0\u02d1\u02d2\u02d3\u02d4\u02d5\u02d6\u02d7\u02d8\u02d9\u02da\u02db\u02dc\u02dd\u02de\u02df\u02e0\u02e1\u02e2\u02e3\u02e4\u02e5\u02e6\u02e7\u02e8\u02e9\u02ea\u02eb\u02ec\u02ed\u02ee\u02ef\u02f0\u02f1\u02f2\u02f3\u02f4\u02f5\u02f6\u02f7\u02f8\u02f9\u02fa\u02fb\u02fc\u02fd\u02fe\u02ff\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f\u0330\u0331\u0332\u0333\u0334\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f\u0360\u0361\u0362\u0363\u0364\u0365\u0366\u0367\u0368\u0369\u036a\u036b\u036c\u036d\u036e\u036f\u0370\u0371\u0372\u0373\u0374\u0375\u0376\u0377\\u0378\\u0379\u037a\u037b\u037c\u037d\u037e\u037f\\u0380\\u0381\\u0382\\u0383\u0384\u0385\u0386\u0387\u0388\u0389\u038a\\u038b\u038c\\u038d\u038e\u038f\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039a\u039b\u039c\u039d\u039e\u039f\u03a0\u03a1\\u03a2\u03a3\u03a4\u03a5\u03a6\u03a7\u03a8\u03a9\u03aa\u03ab\u03ac\u03ad\u03ae\u03af\u03b0\u03b1\u03b2\u03b3\u03b4\u03b5\u03b6\u03b7\u03b8\u03b9\u03ba\u03bb\u03bc\u03bd\u03be\u03bf\u03c0\u03c1\u03c2\u03c3\u03c4\u03c5\u03c6\u03c7\u03c8\u03c9\u03ca\u03cb\u03cc\u03cd\u03ce\u03cf\u03d0\u03d1\u03d2\u03d3\u03d4\u03d5\u03d6\u03d7\u03d8\u03d9\u03da\u03db\u03dc\u03dd\u03de\u03df\u03e0\u03e1\u03e2\u03e3\u03e4\u03e5\u03e6\u03e7'],\n\n dtype='<U1000'), 'V': array([[[b'\\x00\\x00\\x00\\x00', b'\\x01\\x00\\x00\\x00', ..., b'\\xE6\\x03\\x00\\x00', b'\\xE7\\x03\\x00\\x00']]],\n\n dtype='|V4')}\n\n{'b': array([[[ 0, 1, ..., -26, -25]]], dtype=int8), 'h': array([[[ 0, 1, ..., 998, 999]]], dtype=int16), 'i': array([ 0, 1, ..., 998, 999], dtype=int32), 'i8': array([[[ 0, 1, ..., 998, 999]]], dtype=int64), 'l': array([ 0, 1, ..., 998, 999]), 'q': array([[[ 0, 1, ..., 998, 999]]], dtype=int64), 'B': array([[[ 0, 1, ..., 230, 231]]], dtype=uint8), 'H': array([[[ 0, 1, ..., 998, 999]]], dtype=uint16), 'I': array([ 0, 1, ..., 998, 999], dtype=uint32), 'L': array([ 0, 1, ..., 998, 999], dtype=uint32), 'Q': array([[[ 0, 1, ..., 998, 999]]], dtype=uint64), 'e': array([[[ 0., 1., ..., 998., 999.]]], dtype=float16), 'f': array([0.000e+00, 1.401e-45, ..., 1.398e-42, 1.400e-42], dtype=float32), 'f8': array([[[ 0., 1., ..., 998., 999.]]]), 'd': array([[[ 0., 1., ..., 998., 999.]]]), 'g': array([[[ 0., 1., ..., 998., 999.]]], dtype=float64), 'F': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]], dtype=complex64), 'D': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]]), 'G': array([[[ 0.+0.j, 1.+0.j, ..., 998.+0.j, 999.+0.j]]], dtype=complex128), '?': array([[[False, True, ..., True, True]]]), 'S': array([[[b'0', b'1', ..., b'998', b'999']]], dtype='|S11'), 'S8': array([[[b'0', b'1', ..., b'998', b'999']]], dtype='|S8'), 'S16': array([[[b'0', b'1', ..., b'998', b'999']]], dtype='|S16'), 'S32': array([[[b'0', b'1', ..., b'998', b'999']]], dtype='|S32'), 'U': array(['\\x00\\x01\\x02\\x03\\x04\\x05\\x06\\x07\\x08\\t\\n\\x0b\\x0c\\r\\x0e\\x0f\\x10\\x11\\x12\\x13\\x14\\x15\\x16\\x17\\x18\\x19\\x1a\\x1b\\x1c\\x1d\\x1e\\x1f !\"#$%&\\'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\\x7f\\x80\\x81\\x82\\x83\\x84\\x85\\x86\\x87\\x88\\x89\\x8a\\x8b\\x8c\\x8d\\x8e\\x8f\\x90\\x91\\x92\\x93\\x94\\x95\\x96\\x97\\x98\\x99\\x9a\\x9b\\x9c\\x9d\\x9e\\x9f\\xa0\u00a1\u00a2\u00a3\u00a4\u00a5\u00a6\u00a7\u00a8\u00a9\u00aa\u00ab\u00ac\\xad\u00ae\u00af\u00b0\u00b1\u00b2\u00b3\u00b4\u00b5\u00b6\u00b7\u00b8\u00b9\u00ba\u00bb\u00bc\u00bd\u00be\u00bf\u00c0\u00c1\u00c2\u00c3\u00c4\u00c5\u00c6\u00c7\u00c8\u00c9\u00ca\u00cb\u00cc\u00cd\u00ce\u00cf\u00d0\u00d1\u00d2\u00d3\u00d4\u00d5\u00d6\u00d7\u00d8\u00d9\u00da\u00db\u00dc\u00dd\u00de\u00df\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5\u00e6\u00e7\u00e8\u00e9\u00ea\u00eb\u00ec\u00ed\u00ee\u00ef\u00f0\u00f1\u00f2\u00f3\u00f4\u00f5\u00f6\u00f7\u00f8\u00f9\u00fa\u00fb\u00fc\u00fd\u00fe\u00ff\u0100\u0101\u0102\u0103\u0104\u0105\u0106\u0107\u0108\u0109\u010a\u010b\u010c\u010d\u010e\u010f\u0110\u0111\u0112\u0113\u0114\u0115\u0116\u0117\u0118\u0119\u011a\u011b\u011c\u011d\u011e\u011f\u0120\u0121\u0122\u0123\u0124\u0125\u0126\u0127\u0128\u0129\u012a\u012b\u012c\u012d\u012e\u012f\u0130\u0131\u0132\u0133\u0134\u0135\u0136\u0137\u0138\u0139\u013a\u013b\u013c\u013d\u013e\u013f\u0140\u0141\u0142\u0143\u0144\u0145\u0146\u0147\u0148\u0149\u014a\u014b\u014c\u014d\u014e\u014f\u0150\u0151\u0152\u0153\u0154\u0155\u0156\u0157\u0158\u0159\u015a\u015b\u015c\u015d\u015e\u015f\u0160\u0161\u0162\u0163\u0164\u0165\u0166\u0167\u0168\u0169\u016a\u016b\u016c\u016d\u016e\u016f\u0170\u0171\u0172\u0173\u0174\u0175\u0176\u0177\u0178\u0179\u017a\u017b\u017c\u017d\u017e\u017f\u0180\u0181\u0182\u0183\u0184\u0185\u0186\u0187\u0188\u0189\u018a\u018b\u018c\u018d\u018e\u018f\u0190\u0191\u0192\u0193\u0194\u0195\u0196\u0197\u0198\u0199\u019a\u019b\u019c\u019d\u019e\u019f\u01a0\u01a1\u01a2\u01a3\u01a4\u01a5\u01a6\u01a7\u01a8\u01a9\u01aa\u01ab\u01ac\u01ad\u01ae\u01af\u01b0\u01b1\u01b2\u01b3\u01b4\u01b5\u01b6\u01b7\u01b8\u01b9\u01ba\u01bb\u01bc\u01bd\u01be\u01bf\u01c0\u01c1\u01c2\u01c3\u01c4\u01c5\u01c6\u01c7\u01c8\u01c9\u01ca\u01cb\u01cc\u01cd\u01ce\u01cf\u01d0\u01d1\u01d2\u01d3\u01d4\u01d5\u01d6\u01d7\u01d8\u01d9\u01da\u01db\u01dc\u01dd\u01de\u01df\u01e0\u01e1\u01e2\u01e3\u01e4\u01e5\u01e6\u01e7\u01e8\u01e9\u01ea\u01eb\u01ec\u01ed\u01ee\u01ef\u01f0\u01f1\u01f2\u01f3\u01f4\u01f5\u01f6\u01f7\u01f8\u01f9\u01fa\u01fb\u01fc\u01fd\u01fe\u01ff\u0200\u0201\u0202\u0203\u0204\u0205\u0206\u0207\u0208\u0209\u020a\u020b\u020c\u020d\u020e\u020f\u0210\u0211\u0212\u0213\u0214\u0215\u0216\u0217\u0218\u0219\u021a\u021b\u021c\u021d\u021e\u021f\u0220\u0221\u0222\u0223\u0224\u0225\u0226\u0227\u0228\u0229\u022a\u022b\u022c\u022d\u022e\u022f\u0230\u0231\u0232\u0233\u0234\u0235\u0236\u0237\u0238\u0239\u023a\u023b\u023c\u023d\u023e\u023f\u0240\u0241\u0242\u0243\u0244\u0245\u0246\u0247\u0248\u0249\u024a\u024b\u024c\u024d\u024e\u024f\u0250\u0251\u0252\u0253\u0254\u0255\u0256\u0257\u0258\u0259\u025a\u025b\u025c\u025d\u025e\u025f\u0260\u0261\u0262\u0263\u0264\u0265\u0266\u0267\u0268\u0269\u026a\u026b\u026c\u026d\u026e\u026f\u0270\u0271\u0272\u0273\u0274\u0275\u0276\u0277\u0278\u0279\u027a\u027b\u027c\u027d\u027e\u027f\u0280\u0281\u0282\u0283\u0284\u0285\u0286\u0287\u0288\u0289\u028a\u028b\u028c\u028d\u028e\u028f\u0290\u0291\u0292\u0293\u0294\u0295\u0296\u0297\u0298\u0299\u029a\u029b\u029c\u029d\u029e\u029f\u02a0\u02a1\u02a2\u02a3\u02a4\u02a5\u02a6\u02a7\u02a8\u02a9\u02aa\u02ab\u02ac\u02ad\u02ae\u02af\u02b0\u02b1\u02b2\u02b3\u02b4\u02b5\u02b6\u02b7\u02b8\u02b9\u02ba\u02bb\u02bc\u02bd\u02be\u02bf\u02c0\u02c1\u02c2\u02c3\u02c4\u02c5\u02c6\u02c7\u02c8\u02c9\u02ca\u02cb\u02cc\u02cd\u02ce\u02cf\u02d0\u02d1\u02d2\u02d3\u02d4\u02d5\u02d6\u02d7\u02d8\u02d9\u02da\u02db\u02dc\u02dd\u02de\u02df\u02e0\u02e1\u02e2\u02e3\u02e4\u02e5\u02e6\u02e7\u02e8\u02e9\u02ea\u02eb\u02ec\u02ed\u02ee\u02ef\u02f0\u02f1\u02f2\u02f3\u02f4\u02f5\u02f6\u02f7\u02f8\u02f9\u02fa\u02fb\u02fc\u02fd\u02fe\u02ff\u0300\u0301\u0302\u0303\u0304\u0305\u0306\u0307\u0308\u0309\u030a\u030b\u030c\u030d\u030e\u030f\u0310\u0311\u0312\u0313\u0314\u0315\u0316\u0317\u0318\u0319\u031a\u031b\u031c\u031d\u031e\u031f\u0320\u0321\u0322\u0323\u0324\u0325\u0326\u0327\u0328\u0329\u032a\u032b\u032c\u032d\u032e\u032f\u0330\u0331\u0332\u0333\u0334\u0335\u0336\u0337\u0338\u0339\u033a\u033b\u033c\u033d\u033e\u033f\u0340\u0341\u0342\u0343\u0344\u0345\u0346\u0347\u0348\u0349\u034a\u034b\u034c\u034d\u034e\u034f\u0350\u0351\u0352\u0353\u0354\u0355\u0356\u0357\u0358\u0359\u035a\u035b\u035c\u035d\u035e\u035f\u0360\u0361\u0362\u0363\u0364\u0365\u0366\u0367\u0368\u0369\u036a\u036b\u036c\u036d\u036e\u036f\u0370\u0371\u0372\u0373\u0374\u0375\u0376\u0377\\u0378\\u0379\u037a\u037b\u037c\u037d\u037e\u037f\\u0380\\u0381\\u0382\\u0383\u0384\u0385\u0386\u0387\u0388\u0389\u038a\\u038b\u038c\\u038d\u038e\u038f\u0390\u0391\u0392\u0393\u0394\u0395\u0396\u0397\u0398\u0399\u039a\u039b\u039c\u039d\u039e\u039f\u03a0\u03a1\\u03a2\u03a3\u03a4\u03a5\u03a6\u03a7\u03a8\u03a9\u03aa\u03ab\u03ac\u03ad\u03ae\u03af\u03b0\u03b1\u03b2\u03b3\u03b4\u03b5\u03b6\u03b7\u03b8\u03b9\u03ba\u03bb\u03bc\u03bd\u03be\u03bf\u03c0\u03c1\u03c2\u03c3\u03c4\u03c5\u03c6\u03c7\u03c8\u03c9\u03ca\u03cb\u03cc\u03cd\u03ce\u03cf\u03d0\u03d1\u03d2\u03d3\u03d4\u03d5\u03d6\u03d7\u03d8\u03d9\u03da\u03db\u03dc\u03dd\u03de\u03df\u03e0\u03e1\u03e2\u03e3\u03e4\u03e5\u03e6\u03e7'],\n\n dtype='<U1000'), 'U8': array([[['0', '1', ..., '998', '999']]], dtype='<U8'), 'U16': array([[['0', '1', ..., '998', '999']]], dtype='<U16'), 'U32': array([[['0', '1', ..., '998', '999']]], dtype='<U32'), 'V': array([[[b'\\x00\\x00\\x00\\x00', b'\\x01\\x00\\x00\\x00', ..., b'\\xE6\\x03\\x00\\x00', b'\\xE7\\x03\\x00\\x00']]],\n\n dtype='|V4'), 'V8': array([[[b'\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00', b'\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00', ...,\n\n b'\\xE6\\x03\\x00\\x00\\x00\\x00\\x00\\x00', b'\\xE7\\x03\\x00\\x00\\x00\\x00\\x00\\x00']]], dtype='|V8'), 'V16': array([[[b'\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00',\n\n b'\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00', ...,\n\n b'\\xE6\\x03\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00',\n\n b'\\xE7\\x03\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00']]], dtype='|V16'), 'V32': array([[[b'\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00',\n\n b'\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00',\n\n ...,\n\n b'\\xE6\\x03\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00',\n\n b'\\xE7\\x03\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00']]],\n\n dtype='|V32')}\n\n[0.00000000e+00 1.00010001e-02 ... 9.99899990e+01 1.00000000e+02]\n\n[[[ 0 0 ... 99 100]]]\n\n\n\n\n\n\n\n\n\n\n\n```\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Converts a list of numpy arrays to a ndarray",
"version": "0.10",
"split_keywords": [
"numpy",
"list",
"convert"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "72a96e904e96e732db2c503e72343531d221ddddeebd0ed4527594f60cdd012a",
"md5": "1f5c6baa00eed6ec5487c7003ef3b155",
"sha256": "735b3b6bd30929c95882b527c5dae521ce165ce637deb8492435cfa14fece991"
},
"downloads": -1,
"filename": "listarray2ndarray-0.10-py3-none-any.whl",
"has_sig": false,
"md5_digest": "1f5c6baa00eed6ec5487c7003ef3b155",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 16465,
"upload_time": "2023-02-07T02:10:34",
"upload_time_iso_8601": "2023-02-07T02:10:34.597843Z",
"url": "https://files.pythonhosted.org/packages/72/a9/6e904e96e732db2c503e72343531d221ddddeebd0ed4527594f60cdd012a/listarray2ndarray-0.10-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "b4ffd6a6bfc92b17d19ed9a350b739c9128ffc84ba722b37d7ef16973abdc01e",
"md5": "af5c7137064eb8bfa0586d6c9534d345",
"sha256": "1a5523152b23433d83f6ad8c15c599f9ca6b8bd2b4318fc176ff81d4d04dc8e8"
},
"downloads": -1,
"filename": "listarray2ndarray-0.10.tar.gz",
"has_sig": false,
"md5_digest": "af5c7137064eb8bfa0586d6c9534d345",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 16674,
"upload_time": "2023-02-07T02:10:36",
"upload_time_iso_8601": "2023-02-07T02:10:36.379105Z",
"url": "https://files.pythonhosted.org/packages/b4/ff/d6a6bfc92b17d19ed9a350b739c9128ffc84ba722b37d7ef16973abdc01e/listarray2ndarray-0.10.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-02-07 02:10:36",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "hansalemaos",
"github_project": "listarray2ndarray",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "flatten_everything",
"specs": []
},
{
"name": "numpy",
"specs": []
},
{
"name": "tolerant_isinstance",
"specs": []
}
],
"lcname": "listarray2ndarray"
}