Skip to content

Changelog

All notable changes to numdaplot are listed in this file.

The format follows Keep a Changelog, and numdaplot follows Semantic Versioning.

[0.2.0] - 2026-11-13

Added

  • Table.shape gives the number of rows and columns of a table as a Shape, like Array.shape.
  • Unmatched.KEEP keeps the values a ValueMapping gives no new value, so that only the listed values change. Brackets refuses it.
  • Array.convert changes the type of the values of an Array with an ArrayConversion, as Table.convert does for columns.
  • Table.count_values gives how many rows hold each value of a column with a ValueCount, as a number or, with Measure.RATIO, as a fraction of every row, from the most frequent value to the least frequent. With ValueCount(weights="weight"), each row counts as much as its weight, such as the weights of a survey, and a negative weight raises InvalidWeightError.
  • Share gives the fraction of the values satisfying a rule, of an Array or of each group in aggregate, pivot_table and describe, without the missing values unless missing=CountedMissing.INCLUDED.
  • Aggregation(row_count=...) adds the number of rows of each group, without choosing a column, right after the group columns. calculations becomes optional, and EmptyAggregationError is raised when neither is given.
  • Equal, NotEqual, Greater, GreaterOrEqual, Less and LessOrEqual accept an Array as reference value, which compares each value with the value at its position, such as the rows whose city of departure is also their city of arrival with ndp.Equal(table.column("arrival")). Between accepts Arrays as bounds, and raises InvalidBoundsError at the first position whose low bound is above its high bound. These rules work in check, select, filter and in a Share, by group in aggregate, pivot_table and describe too.
  • First and Last choose the first or the last positions in a Region, such as the first 10 rows of a sorted Table with table.take(ndp.Region(rows=ndp.First(10))). A dimension shorter than the count gives every position.
  • BarChart(value_labels=ValueLabels(decimals=2)) writes the value of each bar past its end, or in the middle of each part of stacked bars, rounded to the decimals asked. The axis makes room for the values, values too wide for their bars turn upright, and values that still do not fit are left out with a ReadabilityWarning.
  • Table.apply applies a math function, a time function or a ValueMapping to several columns at once with a TableApplication, each column replaced at its place. An integer or boolean column keeps its type when a ValueMapping gives it missing values.

Changed

  • Conversion is renamed TableConversion.
  • Sorting is renamed TableSorting.
  • TableConversion takes columns, a list, in place of column, so that Table.convert converts several columns to the same type at once.
  • The default label of the axis of several series is Value, as for an Array, since the legend names them. The default title still names them, such as price, cost by month. One series keeps its column name.
  • The legend and the colors of the groups of a ScatterChart color_by column follow the natural order of its values, such as Cluster 2 before Cluster 10 and without regard to case, or the order of the categories of a column of categories, instead of the order of the rows. A group keeps its color whatever the order of the rows.
  • OutOfDomainError and UnmatchedValueError name the Table column holding the value, such as a value in no bracket of Brackets in Table.convert.
  • The message of UnmatchedValueError for a ValueMapping also offers others=Unmatched.KEEP.
  • Numbers given by a ValueMapping to an Array of numbers take its type, as with the operators: INT8 codes stay INT8, integers given to decimals give decimals, and a number that does not fit raises ValueConversionError. Decimals given to integers still give FLOAT64.
  • The message of IntegerOverflowError gives the range of the type, and advises INT64 for smaller integers, FLOAT64 for INT64 and UINT64.
  • The documentation shows the latest version note of each object and folds the earlier ones in a version history. Every enum member tells its version. Class pages no longer repeat the parameters of the creation.
  • The documentation lists TableConversion and BooleanRule in a Conversions section.
  • The documentation lists Measure in a Measures section, shared by tables and plots, and groups the settings of aggregate, pivot_table, describe and count_values under Statistic settings.
  • After ten series or color_by groups without chosen colors, the default colors go on with the light colors of the first ten instead of starting again. After 20, they start again with a ReadabilityWarning.
  • LegendPosition.BEST places the legend past the axes on the right when it would hide a value inside them, such as a point, a part of a line or a bar.
  • The title of a Plot is centered above the whole Plot, its legend included, and goes on several lines when it is too wide. It is the title of the matplotlib figure, or subfigure in a Figure, given by to_matplotlib.
  • The DuplicateColumnError of an Aggregation giving two results the same name advises a result_name for each calculation.
  • The documentation lists every method and operator of Array, Table and Plot, Table.pivot_table and Table.join included, in sections that follow the code: the same notion has the same title on every page, such as Calculation and Layout.
  • The documentation links each object to its source on GitHub instead of showing the code.
  • The documentation groups the errors and warnings by notion, such as File errors, Type errors and Plot errors.
  • The advice of ValueConversionError and InvalidConversionError about formats speaks of the values, which fits an Array as well as a column.
  • Each member of Type gives the rules of its type with examples, such as the type of a sum or of a division, and the page of Type no longer says that integers wrap around.

Fixed

[0.1.2] - 2026-11-10

Changed

  • The description of the package has changed to "A typed API for arrays, tables and plots, built on numpy, pandas and matplotlib".
  • The README presents the library only; the development and release guides are pages of the documentation.

[0.1.1] - 2026-11-10

Added

  • The PyPI page links to the changelog and to the issues, and lists keywords.

Fixed

  • The source distribution credits the pandas license of the SAS and XPT sample files.

[0.1.0] - 2026-11-10

Added