Package: larray
LArray: N-dimensional labelled arraysLArray is an open source Python library that aims to provide tools for easy exploration and manipulation of
N-dimensional labelled data structures.Library HighlightsN-dimensional labelled array objects to store and manipulate multi-dimensional dataI/O functions for reading and writing arrays in different formats:
CSV, Microsoft Excel, HDF5, pickleArrays can be grouped into Session objects and loaded/dumped at onceUser interface with an IPython console for rapid exploration of dataCompatible with the pandas library: Array objects can be converted into pandas DataFrame and vice versa.InstallationPre-built binariesThe easiest route to installing larray is throughConda.
For all platforms installing larray can be done with:conda install -c larray-project larrayThis will install a lightweight version of larray
depending only on Numpy and Pandas libraries only.
Additional libraries are required to use the included
graphical user interface, make plots or use special
I/O functions for easy dump/load from Excel or
HDF files. Optional dependencies are described
below.Installing larray with all optional dependencies
can be done withconda install -c larray-project larrayenvYou can also first add the channellarray-projectto
your channel listconda config --add channels larray-projectand then install larray (or larrayenv) asconda install larrayBuilding from sourceThe latest release of LArray is available fromhttps://github.com/larray-project/larray.gitOnce you have satisfied the requirements detailed below, simply run:python setup.py installRequired DependenciesPython 3.8, 3.9, 3.10 or 3.11numpy(1.22 or later)pandas(0.20 or later)Optional DependenciesFor IO (HDF, Excel)pytables:
for working with files in HDF5 format.xlwings:
recommended package to get benefit of all Excel features of LArray.
Only available on Windows and Mac platforms.openpyxl:
recommended package for reading and writing
Excel 2010 files (ie: .xlsx)xlsxwriter:
alternative package for writing data, formatting
information and, in particular, charts in the
Excel 2010 format (ie: .xlsx)xlrd:
for reading data and formatting information from older Excel files (ie: .xls)xlwt:for writing data and formatting information to older Excel files (ie: .xls)larray_eurostat:
provides functions to easily download EUROSTAT files as larray objects.
Currently limited to TSV files.For Graphical User InterfaceLArray includes a graphical user interface to view, edit and compare arrays.pyqt(version 5):
required bylarray-editor(see below).pyside:
alternative to PyQt.qtpy:
required bylarray-editor.larray-editor:
required to use the graphical user interface associated with larray.
It assumes thatqtpyand eitherpyqtorpysideare installed.
On windows, creates also a menuLArrayin the Windows Start Menu.For plottingmatplotlib:
required for plotting.Miscellaneouspydantic:
required to useCheckedSession.DocumentationThe official documentation is hosted on ReadTheDocs athttp://larray.readthedocs.io/en/stable/Get in touchTo be informed of each new release, please subscribe to the announcemailing list.For questions, ideas or general discussion, please use theGoogle Users Group.To report bugs, suggest features or view the source code, please go to ourGitHub website.