News for hackers. Stuff that matters.
Re:Python is not a great language for data science. Part 1: ... by jna_sh on Tuesday November 25, 2025 @01:39PM (#46049110)
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.
Re:Python is not a great language for data science. Part 1: ... by Jtsummers on Tuesday November 25, 2025 @01:44PM (#46049185)
Lua'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

Re:Python is not a great language for data science. Part 1: ... by TheSoftwareGuy on Tuesday November 25, 2025 @01:43PM (#46049167)
IIRC those are basically hash tables, which are first-class citizens in many languages already