Posts by Matheus Leite • 16 points
3 posts
-
0
votes5
answers3780
viewsA: I want to know how many rows and columns an array has in Python?
You can use the Numpy for that. There is a function inside called Shape and it is usually used to obtain the "form" of any matrix. For example: from numpy import array numpy_array = array([[1, 2,…
-
0
votes2
answers109
viewsA: How to return to the previous state? (Vuex)
If I understand correctly you can have two "commits" for each case. One recording the current_user and the other recording the last_user for example. Ai is in charge of the actions of each button…
-
0
votes1
answer827
viewsA: vuex error: [vuex] Unknown action type
As the changes you made to your new action are loadCards and not loadApiCards. Try changing the name of your action call like this: this.$store.dispatch('loadCards');…