Quantcast
Channel: Active questions tagged row - Stack Overflow
Browsing all 443 articles
Browse latest View live
↧

How can I connect specific rows in a Pandas dataframe?

I would like to connect specific rows in a Pandas dataframe.I have a column „text“ and another column „name“. Each entry of the column „text“ has a string. Some entries of the column „name“ are empty...

View Article


Image may be NSFW.
Clik here to view.

How to create List row seperate one another?

I'm trying to create my section like this, where each row is separated with another. Kinda like section where the background is not connected one another. take a look at the pict: (picture from...

View Article


Adjusting the table row height - Row height in different on different URLs

I was trying to adjust the height of table rows/cells and I actually managed to on my test page, but the problem persists on the original one. The files are ALL the same (I actually deleted everything...

View Article

Is there a way to write a sequence of text lines to a grid window?

Forgive my ignorance; I'm trying to get going with tkinter. I have gotten code to work to send text strings to various row/column entries using .grid. But if I want to just write a series of messages...

View Article

Image may be NSFW.
Clik here to view.

Google Sheets: Converting Rows of data into a single column, including IMAGES

I have found many solutions that pull rows of data into a single column of data, but I cannot figure out a solution that will also return images as part of the data.Sample data is here:...

View Article


How to keep the most recent values and delete all other others in a column...

I'm trying to get the latest occurrence of an ID Name and I want to delete every other occurrence that happened before that time. ID Name Comment Time0 W12D0 Fine 12:17:371 W12D0 Random 12:20:102 W12D0...

View Article

Image may be NSFW.
Clik here to view.

Converting Rows of data into a single column, including IMAGES

I have found many solutions that pull rows of data into a single column of data, but I cannot figure out a solution that will also return images as part of the data.Sample data is here:...

View Article

Replace NA values with values from cells on the right in R

I have a data frame with sets of NA values between data, like this:dfDate1 Value1a Value1b Value1c Date2 Value2a Value2b Date3 Value3a Value3b Date4 Value4a Value4b Value4c2015-01-21 negative negative...

View Article


Image may be NSFW.
Clik here to view.

obtain pivot row name from index

I create a pivot table like that below:I store the values in a matrix and apply a certain function to the matrix. The outputs of the function are the indexes of some rows and columns of the matrix...

View Article


populate flet datatable with pandas dataframe

how can I disable pandas dataframe in flet datatable and be able to edit and delete each row.Column AColumn BCell 1Cell 2Cell 3Cell 4I tried setting the column headers by callingdf.column but I don't...

View Article

Image may be NSFW.
Clik here to view.

Laravel Multiple sheets with multiple heading rows

I already achieved the code for two rows but data is not aligning with the rows. I tried several methods to map the data but still the data is showing after the headingsThis is what i want to achieved...

View Article

How to combine rows from different sheets into one sheet?

I have 5 excel sheets, sharing same number of rows and columns.I would like to make one sheet by combining rows from these 5 sheets in a way that each row from these sheets come below to each other....

View Article

Python print first row of list

I'm sure there a simple solution to this question but so far it has eluded me.I simply want to print out the first row the below list where [0] is the None value and [1] is the time stamp. Where ss is...

View Article


Replacing Header with Top Row

I currently have a dataframe that looks like this: Unnamed: 1 Unnamed: 2 Unnamed: 3 Unnamed: 40 Sample Number Group Number Sample Name Group Name1 1.0 1.0 s_1 g_12 2.0 1.0 s_2 g_13 3.0 1.0 s_3 g_14 4.0...

View Article

after merging two dataframes, how to reassign row index?

I merged two dataframes but I want to re-sort the index so it has a sequentially larger row number by 1. So for example below, the 3162 should be 281, and so on...278 2024-05-08 09:18:40.224469054 279...

View Article


gridjs: how to change background colors based on the row ID?

I would like to change the background color of the rows in the table generated by gridjs.I came up with the following line of code to change the style of the background color, but it has to be based on...

View Article

Level od data in rows

I need sql query that from data:1.2.4.1.11.2.4.1.21.2.4.41.2.4.4.1...Takes all data except1.2.4.4.1 because he is part of1.2.4.4,So I need the highest level of every row that has 1.2.4 in root.I tried...

View Article


CSS to highlight "nested" rows using th and varied rowspan attributes using...

I have been playing around with the :has selector to see if I am able to create a pure-css solution for highlighting rows in "tree" views using HTML table. I've seen solutions using <tbody>, but...

View Article

Python: Why randint on a matrix keeps giving me the same rows [duplicate]

I'm using Python 3 and with this code:import randommat = [[0]*5]*5for i in range (0,5) : for j in range (0,5) : mat[i][j] = random.randint(10,50)print (mat)I'm getting results like this:[[26, 10, 28,...

View Article

Convert discrete rows into columns in excel

I have an output text file that is just a copy of shell output after a batch file is run. Limitations:I do not have access to the original batch file so I cannot edit that.I have to make changes to the...

View Article
Browsing all 443 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>