pihnn.utils.ordinal_number#
- pihnn.utils.ordinal_number(n)#
 Accessory function to get the ordinal number as a string from an int. For example, \(3\rightarrow \text{3rd}\), \(10\rightarrow \text{10th}\), …
- Parameters:
 n (int) – Input integer.
- Returns:
 ord_n (string) - Ordinal number.