How to get selection for plot s. over Time of descriptive Statistics Filter?

Right, you want to select rows in a table, i missed that.
There is no SelectRows (yet), but you can do it manually with the following code:

selSource = servermanager.sources.SelectionQuerySource()
selSource.FieldType = "ROW"
selSource.QueryString = "id == 2"
descriptiveStatistics.SMProxy.SetSelectionInput(descriptiveStatistics.Port, selSource.SMProxy, 0)

be aware that the Spreadsheet view does not update itself with these manual selections, so you will have to create a new one to see it.