What does the c underscore expression `c_` do exactly?

后端 未结 6 1963
长情又很酷
长情又很酷 2020-12-12 14:23

It seems to be some kind of horizontal concatenation, but I could not find any documentation online. Here a minimal working example:

In [1]: from numpy impo         


        
6条回答
  •  孤城傲影
    2020-12-12 15:03

    Actually it is not a function, it is an object of class CClass.

    it is "not a function, so takes no parameters
    

    Above is what the official document said. you can check this question for details.

    numpy.r_ is not a function. What is it?

提交回复
热议问题