Remove a row from the table. Parameters ---------- n : int The index of the row to remove. .. versionadded:: 3.0 Examples -------- Remove row 15:: table.remove_row(15) Which is equivalent to::
(self, n: int)
| 2826 | return SizeType(nrows) |
| 2827 | |
| 2828 | def remove_row(self, n: int) -> None: |
| 2829 | """Remove a row from the table. |
| 2830 | |
| 2831 | Parameters |
| 2832 | ---------- |
| 2833 | n : int |
| 2834 | The index of the row to remove. |
| 2835 | |
| 2836 | |
| 2837 | .. versionadded:: 3.0 |
| 2838 | |
| 2839 | Examples |
| 2840 | -------- |
| 2841 | Remove row 15:: |
| 2842 | |
| 2843 | table.remove_row(15) |
| 2844 | |
| 2845 | Which is equivalent to:: |
| 2846 | |
| 2847 | table.remove_rows(15, 16) |
| 2848 | |
| 2849 | .. warning:: |
| 2850 | |
| 2851 | This is not equivalent to:: |
| 2852 | |
| 2853 | table.remove_rows(15) |
| 2854 | |
| 2855 | """ |
| 2856 | self.remove_rows(start=n, stop=n + 1) |
| 2857 | |
| 2858 | def _g_update_dependent(self) -> None: |
| 2859 | super()._g_update_dependent() |