Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
0 votes
0 answers
24 views

How to color rows in Matrix Table based on cells value

I have created a table in Grafana using a SQL query & Grouping to Matrix A/B Col1 Col2 Col3 Row1 1.ab 2.ab 1.ab Row2 3.nc 3.nc 3.nc Row 1 has different values but Row 2 doesn't. How can I ...
Powjnk's user avatar
  • 21
0 votes
0 answers
68 views

Which of the Elementary Column Operations will not change the solution of SLE

Which of the elementary column transformations, (except for interchanging the columns), will not change the solution of the system of linear equations? I found a definiton: Definition 2.2.1 An ...
p0vi3's user avatar
  • 1
0 votes
1 answer
177 views

How to run two-way ANOVA when continuously getting ValueError: must have at least one row in constraint matrix

When I try to run the ANOVA, I get a "ValueError: must have at least one row in constraint matrix" message. See an example table below and the code that I am trying to run. You can ignore ...
rpn's user avatar
  • 21
1 vote
1 answer
188 views

Dyalog APL, sort rows in a matrix

I would like to sort numbers within each row of a matrix, for example, 3 3 rho 2 3 1 4 5 7 1 9 8 should become 3 3 rho 1 2 3 4 5 7 1 8 9. I am new to Dyalog APL, and know how to generate, via grade ...
Kuushu Enshin's user avatar
2 votes
2 answers
96 views

How to sort a matrix`s row based on another similar (not equivalent) matrix?

I have two matrices with equal dimension in R. First columns are same. And they elements are such that they have same element but their position according to row and column are different. I am stating ...
Ly T's user avatar
  • 21
0 votes
1 answer
329 views

How to create a matrix with huge number of rows

I want to create a big dataframe or a matrix. the dimension of it is: col is 49 and row is 35886996700 When I am trying to create a matrix its giving me an error: data <- data.frame(matrix(NA, # ...
rheabedi1's user avatar
1 vote
1 answer
158 views

Why doesn't Sympy's row_del() method work (example from geeksforgeeeks website)?

TL;DR There is an inconsistency when using Sympy's [Matrix].row_del() method and websites seem to be reporting its use wrongly. Note from the following link from the geeksforgeeks website for an ...
Hendrix13's user avatar
  • 125
0 votes
1 answer
50 views

question regarding changing tile of rows and columns of a big matrix

I have a complex names of big matrix. I'm supposed to replace the name by splitting the name of each column which are separated by "_". sample of name d__Bacteria.p__Firmicutes.c__Clostridia....
Sajad Shahbazi's user avatar
1 vote
2 answers
45 views

Replace rows in an MxN matrix with numbers from 1 to N

Im interested in replacing all of my rows in an MxN matrix with values from 1 to N. For example: [[4,6,8,9,3],[5,1,2,5,6],[1,9,4,5,7],[3,8,8,2,5],[1,4,2,2,7]] To: [[1,2,3,4,5],[1,2,3,4,5],[1,2,3,4,5],[...
NoahRyu's user avatar
  • 13
0 votes
1 answer
30 views

How to get rid of array appending python

Hi have an a vector that looks like: [array([ -99.21898 , -200.566483, 0.58519 ]), array([-1.00395332e+02, -2.05700867e+02, 6.47600000e-02]), array([-9.99833530e+01, -2.00824783e+02, 6.77800000e-...
ABh's user avatar
  • 11
1 vote
0 answers
87 views

Making index i to row and index j to column and index k = 0 or k = 1 depending on following

I have a 3D matrix as following: a = [[[0, 1, 2, 3, 4, 5], [1, 2, 3, 4, 5, 6], [2, 3, 2, 3, 4, 5], [3, 2, 3, 4, 3, 4], [4, 3, 4, 5, 4, 3], [5, 4, 5, 6, 5, 4]]] When I loop over the matrix I want the ...
TheRi's user avatar
  • 67
0 votes
1 answer
63 views

Changing the position of a 2D array in a matrix in C language

here is the question : have a two 2D array int matrix1[4][5]={ {8,5,2,4,3}, {9,6,4,0,4}, {0,1,2,3,4}, {9,9,9,9,9}}; Without changing the elements in the row in the matrix1 The sum of the rows will ...
senanurr's user avatar
0 votes
0 answers
35 views

Loop for dynamic rows in R

I don't know If my question is well thought out. I'll try to explain as best as I can. I'm trying to create this model originaly made in Excel into R. The function basically is a sum of products ...
Luis Villarreal's user avatar
0 votes
1 answer
1k views

Additional row with empty header in matrix in power bi

The problem is probably trivial but unfortunately I can't figure it out. Here are two basics tables: I tried to create the matrix based on the selected ID (from the Table2) with values from Table1. I ...
Piotrek's user avatar
  • 27
1 vote
1 answer
73 views

Adding rows with changing variable values in R

I have the following extract of my dataset about the occupancy of a football match: example <- data.frame(Date <- c("2019-03-21", "2019-03-30", "2019-04-07", ...
Louisa Fritz's user avatar

15 30 50 per page
1
2 3 4 5
21