4 ms·
I know the primary data structure in Lua is called a table, but I’m not very familiar with them and if they map to what’s expected from tables in data science.
by jna_sh 11mo ago
I know the primary data structure in Lua is called a table, but I’m not very familiar with them and if they map to what’s expected from tables in data science.
- TheSoftwareGuy 11mo agoIIRC those are basically hash tables, which are first-class citizens in many languages already
- deleted 11mo ago[deleted]
- Jtsummers 11mo agoLua's tables are associative arrays, at least fundamentally. There's more to it than that, but it's not the same as the tables/data frames people are using with pandas and similar systems. You could build that kind of framework on top of Lua's tables, though. https://www.lua.org/pil/2.5.html https://www.lua.org/pil/2.5.html