No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
How to replace only 1d values in 2d array after filter using numpy in python without loop i.e in pythonic way. I want to filter only t2 rows and replace values in second column ( middle column ). example: `>>> x = np.array([['t1',10,20],['t2',11,22],['t2',12,23], ['t3',21,32]])` >>> x array([['t1', '10', '20'], ['t2', … |
|
Hi, I have created one signal in python using pyside. I'm connecting with that signal 3 times with 3 different methods. when i emit this signal, it has to execute these 3 methods. It works perfectly fine. ValueChanged = QtCore.Signal(list) ValueChanged.connect(method1) ValueChanged.connect(method2) ValueChanged.connect(method3) valueChanged.emit([1,2,3]) But i would like to know … |
|
Hi, I've created new signal , where i specify list and object datatype. dataChanged = QtCore.Signal(list, object) But list and object datatype don't convey properly that what will be in list and in the object. So it would be good if we could declare something like this, dataChanged = QtCore.Signal(lst_employees, … |
|
Friends, I'm completely new to python, i have question with setting width of PySide.QtGui.QDockWidget in python. I have MainWindow class in python which inherits QtGui.QMainWindow ( PySide ) and have added one left dock widget with simple plot and one right dock widget with simple plot and embedded simple plot … |
|
Hi, I would like to add some descriptions to functions on top of every function ex : [Name = 'Test menu', Default=True, etc..] def test(): pass My actual scenario is , I create Menus dynamically by reading all methods from a module at run time. So i don't want to … |