NumPy Study Part 7: Math, Rounding, Missing Values and Linear Algebra (sqrt, round, isnan, dot, @, linalg)
This part collects the numerical tools you reach for every day:Math functions: powers, roots, logs, exponentials, absolute valuesRounding: round, floor, ceil, trunc, and a surprise about .5Missing values: nan, isnan, the nan-functions, filling and droppingFloating-point comparison: why 0.1 + 0.2 == 0.3 is False, and iscloseLinear algebra: dot products, @, identity, inverse, determinant, solving ..
2026. 10. 12.
NumPy Study Part 6: Combine, Split, Sort and Count (concatenate, stack, split, sort, argsort, unique, clip)
Real data rarely arrives in one tidy array. You load it in pieces, add new rows, split it into training and test sets, rank it, and count categories. This part covers the tools for all of that:Combining: concatenate, stack, vstack, hstack, column_stackAdding values: append, insert, delete (and why to use them sparingly)Splitting: split, array_splitSorting and ranking: sort, argsort, partition, t..
2026. 10. 12.