MaxforCherubim
MaxforCherubim
The code is wrong. ``` from IPython.core.debugger import Pdb def set_trace(): Pdb(.set_trace(sys._getframe().f_back) def debug(f, *args, **kwargs): pdb = Pdb() return pdb.runcall(f, *args, **kwargs) ``` It should be ``` from IPython.core.debugger...
The sentence "where 1 would mean the bucket [0, 100)" is wrong. It shoule be "where 1 would mean the bucket (0, 100]" Because `bins.searchsorted(np.array([100]))` return 1
There is no differences between Out[167] and Out[169]. Though I know the means, others maybe misunderstand this. So I recommend to change the In[168] to: `arr[:, 1].sort()`
Between In[114] and In[116] Should we add the In[115]? `In[115]: names = names.reset_index(drop=True)`
The trick can not work: ``` def demean_axis(arr, axis): means = arr.mean(axis) indexer = [slice(None)] * arr.ndim indexer[axis] = np.newaxis return arr - means[indexer] ``` Here is the way to...
**Basic Information** name: R official website: https://www.r-project.org/ source code website: https://cran.r-project.org/sources.html **meta**: - license: sry, I do not know. - version: latest - oneline install: - for windows, need to...