Yes, n-1these are degrees of freedom in this example.
t- , "" sf scipy.stats.t (aka CDF) p-. T, - .
, , 1 T p = 0,1 3.078. , t.sf:
In [7]: from scipy.stats import t
In [8]: t.sf(3.078, 1)
Out[8]: 0.09999038172554342 # Approximately 0.1, as expected.
p- p.