littletable 2.2.5
-
Enhanced
Table.by
,Table.all
, andTable.search
methods to accept a field name that is not a valid identifier by using a callable interface:tbl = lt.csv_import( "https://github.com/lukes/ISO-3166-Countries-with-Regional-Codes/blob/master/all/all.csv?raw=true" ) # field "region" is a valid Python identifier regions = list(tbl.all.region.unique) # field "sub-region" is not a valid Python identifier, use callable interface sub_regions = list(tbl.all("sub-region").unique)
-
Added
examples/pyscript/matplotlib.html
example, showing how to uselittletable
within a Pyscript static HTML file. -
Fixed minor code error in
Table.by
when determining if an index is unique or not. (Not a bug, just fixed some bug-prone code.) -
Expanded
peps.py
example to Jupyter NotebookPEPs data demo.ipynb
. -
Renamed
delete_index
todrop_index
for more symmetry with SQL.delete_index
is retained for compatibility.