Questions tagged [row]

A horizontal line of cells in a spreadsheet, SQL table, HTML table, or similar structure.

row
Filter by
Sorted by
Tagged with
0 votes
1 answer
45 views

Subsetting Data Based on Number of Rows True

In R, I have a dataset with 10 columns of interest. These columns are binary, where 1 means true and 2 means false. I need to subset the data to find the number of times at which only 2 columns equal ...
Ivey's user avatar
  • 1
2 votes
1 answer
543 views

PySpark: Create new rows (explode) based on a number in a column and multiple conditions

I have a dataframe with a few columns, a unique ID, a month, and a split. I need to explode the dataframe and create new rows for each unique combination of id, month, and split. The number to explode ...
Whitewater's user avatar
0 votes
0 answers
26 views

input value from website into a cell iterating to the next row

Building script for work that parses through a list of IPs and checks them against a website. If the website says its malicious, it grabs the IP from the website and then its SUPPOSED to input into ...
dspucches's user avatar
0 votes
1 answer
39 views

How Do I add or insert additional rows and elements to a Pandas Dataframe Dataset?

I'm having issues inserting extra rows to the dataframe seen below. The dataset has two columns as seen below. The plan is to add some missing time (10:03:00, 10:05:00, 10:07:00....) in between the ...
Dub's user avatar
  • 13
0 votes
1 answer
42 views

Excel VBA Pasting to Range with Variable Row

I am trying to paste into a range with a variable row. The row is based on the last row + 1. I am getting a debug error when I try to run the code. It should be B2:T2, B3:T3, etc. based on the last ...
Steve's user avatar
  • 3
0 votes
0 answers
14 views

Excel; Display value based on other value in same row [duplicate]

I need a formula that will find the highest value in the C column, and display the value of the A column of that same row So something like MAX(C2:C8), and then display the "M. Stipić" ...
ThomasCro's user avatar
0 votes
1 answer
51 views

Selenium webscraping issue, data not loading

I have an issue, I try scraping a website, what I'm scraping is a table and I get every element, row by row. Where I have an issue is that an element seems to be loaded only if you scroll to it and ...
Hyaku's user avatar
  • 23
0 votes
0 answers
28 views

how can i add blank lines of space to the QGridLayout?

For example I created a layout getting empty lines with this workaround, i.e. using __layout.setRowStretch But it seems cumbersome and not beautiful list_fw_supported = self.wizard()....
Vincenzo Bruno's user avatar
0 votes
0 answers
6 views

Paste does not start at last row

I got the following macro that copy sheet1 A1:A6 to Sheet2 transpose but copy the same row with the count in column G of sheet 1. The macro must paste one paste under the other on sheet 2 but keeps on ...
Alwyn Blignaut's user avatar
-1 votes
2 answers
41 views

Sql Select number of rows based on specific field value

I have two tables 1-Questions Table: 2-QuestionTypes Table: I want to select number of rows based on question_type_id field as example [SELECT 2 question] where [question_type_id = 2] and [SELECT 5 ...
amralsaidy's user avatar
0 votes
1 answer
119 views

Unable to convert serial number date to Date format in R

I am working with a somewhat messy dataset of dates. Participants essentially completed anywhere from 1-10 different tests in a time period of 3-4 years. For instance, one participant could have ...
jamberhee's user avatar
0 votes
1 answer
40 views

How can I change the state of checkboxs from a gridview in c#?

I have a gridview on an aspx page (WebForm) that has item name and checkbox. In the code behind in c#, I get a list of items names and I want that the checkboxes next to the items I already have will ...
TUK's user avatar
  • 51
0 votes
1 answer
45 views

Data frame formatting. Rows and Columns

I have the following data frame Sp1 Sp1 Sp1 Sp2 Sp2 Sp2 Sp3 Sp3 Sp3 count 1 0 3 5 2 0 2 4 1 plot A B C A B C A B C How do I transform the data frame to get ...
Mike's user avatar
  • 59
0 votes
0 answers
33 views

With SDV, I want to generate vertical oriented data (1 record is spread over multiple rows), is this possible?

I want to generate synthetic data with SDV where each row contains only one variable name (and variable value). Something like: PersonId, ValueName, Value, Index I get this data from a supplier. The ...
user3820102's user avatar
1 vote
1 answer
339 views

Vertical ListView with dynamic width in a Row

Trying to build a simple layout with 2 pieces in a Row: the main part with content and a kind of persistent menu on the left. The left part should be a ListView, the content part doesn't matter, for ...
Alexander Marochko's user avatar
0 votes
1 answer
36 views

How to drop few label from a column using dataframe.drop()

df = pd.read_csv("idx.csv") was used to read the data; following is the data activity time_s lw_x lw_y ... la_z ra_x ra_y ra_z 72920 2 729.21 -1.273 -0....
Richard's user avatar
-1 votes
1 answer
82 views

deleting rows if matching partial string in openpyxl

I am trying to delete every row containing a partial string. It is correctly identifying the correct rows containing the partial string, it is just not deleting them from the sheet. Here is my attempt:...
PiAlx's user avatar
  • 45
0 votes
1 answer
56 views

Insert a blank row above , "True" which is in column "T"

I have a worksheet, which is populated from another sheet, which can have a variable amount of rows. In this worksheet I am trying to insert a blank row above , "True" which is in column &...
FNormN's user avatar
  • 1
-2 votes
1 answer
1k views

vba to copy a row and insert to row below and then repeat

I would like to copy and insert a row, ie row 10 and insert to row 11. I would then like to run that code again (via a command button), to copy row 11 and insert to row 12. I would like to be able to ...
elmo51's user avatar
  • 13
1 vote
2 answers
44 views

Is it possible to add a new row after several rows in a way that calculates the average of each column in R?

My data is like this: structure(list(ACT = c(23.13958, 23.04186967, 24.20995687, 24.40250502, 24.04483881, 23.30146732, 24.29608776, 23.39981921), DnaJ = c(22.03439246, 21.88943566, 22.42216211, 23....
A.Mokhtari's user avatar
0 votes
1 answer
52 views

Convert character string into columns of dataframe

I have a character vector that looks like this: c("S01_28819_W0D0_Unpr", "S01_28819_W0D1_Unpr", "S01_28819_W0D3_Unpr") What I would like to do is split each entry using &...
jcorn427's user avatar
1 vote
1 answer
404 views

How to use tableone to change table percentage by row?

I am use library(tableone) to make my descriptive statistics for multiple variables This is my code: library(tableone) myVars <- c("class", "age", "Sex", "bmi&...
Bruce's user avatar
  • 79
0 votes
1 answer
291 views

How can I split a single, very long string into separate columns and rows delimited by commas and semicolons in SQL Server?

I'm trying to split a single very long string into a seperate colomns and rows. The columns need to be delimited with the "," symbol and the rows are delimmited witht he ";" symbol....
Paul Bowring's user avatar
0 votes
1 answer
45 views

Add new rows to dataframe populating one column with a string and another with values from 2nd dataframe column in R

I have the following string and 2 dataframes. There are many sets of this configuration (components, fueltypes, etc). I will create one set as an example. If components, fueltypes, etc has no data ...
seehorse's user avatar
0 votes
0 answers
10 views

How can I fix my two column data display when entering correct item.firstName & item.lastName data?

I have a small problem with displaying data in two columns I have a small problem with displaying data in two columns, namely if I enter data from my finger, everything is displayed correctly, but if ...
user20785446's user avatar
1 vote
2 answers
45 views

Python search row for letters

I have a table of data that has a row of data as strings, but I am looking to convert the row to floats with this line: uomorig_df['Conversion'] = uomorig_df['Conversion'].astype(float, errors = '...
htank's user avatar
  • 23
0 votes
1 answer
473 views

Filtering and creating a new CSV file from data matching a specific string in a column

I have a csv file file and want to filter it and create a new file from it. In the csv file there is a column "path". I want to filter the data which has "A/B/C" in the column &...
Anoosha's user avatar
0 votes
0 answers
16 views

Create rows from columns [duplicate]

I have a dataset like this: structure(list(id = c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10), year1 = c(2022, 2020, 2023, 2022, 2020, 2023, 2022, 2020, 2023, 2022), year2 = c(2023, 2022, 2024, 2023, 2022, 2024,...
user19745561's user avatar
-1 votes
1 answer
67 views

JavaFX GridPane fixed row size

I am working on a grammar analysis program. I am using a GridPane and have three TextAreas so far. The TextArea paliVerse should span over two rows; the TextArea analysis over four. However, when I ...
Jacob J.'s user avatar
0 votes
2 answers
318 views

React: Make all rows the same height

I've managed to make all columns in a row the same height, however, I don't know how to do it for rows (see the screenshots and code below). I would like that in a mobile view, when there is only one ...
Nina's user avatar
  • 499
0 votes
1 answer
297 views

Excel VBA to automatically create row numbers

I went online searching for an excel VBA code to automatically enter the row numbers in a column and I found the code below. It works beautiful except that it detects every cell clicked in the sheet. ...
learningcodes's user avatar
0 votes
0 answers
8 views

Merge datasets in R by similiar (but not the same) row names

I have two datasets about cities' names, states (uf), and years. The main problem is that their names are written in different forms in these datasets. The only correct thing between them is the year ...
Mateus Maciel's user avatar
0 votes
1 answer
25 views

combining dictionaries to keep same values along with different values

I have two dictionaries with the values. x = {'a': 1, 'b': 2, 'c': 3, 'd':2} y = {'a': 1, 'b': 3, 'c': 4, 'd':2} How could I combine the values in python where these are not equal and if equal keep ...
KRANTHI KUMAR's user avatar
2 votes
2 answers
85 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
0 answers
25 views

How to get maximum number of rows in GogleSheet sheet in app script [duplicate]

What kind of formula should I use to get the maximum number of rows of an active sheet in GogleSheet in app script? (of a specific column) Could anyone assist?
Agnieszka Liszka's user avatar
2 votes
3 answers
176 views

Powershell export-csv .... adding row number to output just can't be that complicated

Folks, In the past I've struggled for hours trying to do something in Powershell and then have someone here answer with the simplest one line answer. I'm hoping for the same now after spending hours ...
ljg's user avatar
  • 107
1 vote
1 answer
205 views

How to change font size in .settitle in row builder (android auto)

I need some help with Android Auto code on a simple question regarding font size. I can make font size changes in most Android/Java code for smartphone apps. However, for Android Auto there are some ...
Marcelo Tinoco's user avatar
-1 votes
3 answers
52 views

Counting SQL entries

I'm having a hard time counting entries in SQL database. I need to count all entries of the same value in a row. Counting entries in a column down I got no problem with but can't seem to get the row ...
Melger's user avatar
  • 1
0 votes
1 answer
1k views

Power Automate Flow Error - Add Row to a Table

I'm struggling with a flow error for my add a row into a table flow. I created this flow a few months back and it has been working well during that time period but all of a sudden about 3 weeks ago it ...
Baby Yoda's user avatar
0 votes
1 answer
38 views

add a sentence at the end of a column that itself has two inner-column

Can you help me know how to add a sentence to the end of the third column? the third column itself has two inner-column but I wanna add the sentence at the end of the third column with its full width, ...
Saba S's user avatar
  • 27
0 votes
1 answer
39 views

Multiple Joins Duplicating Rows from Other Tables

I am trying to join multiple tables, however some rows are 'duplicating'. This is because one of the tables I am joining has more rows than the others (the 'Goals' table). For exmaple, here are my ...
JahIsGucci's user avatar
1 vote
1 answer
37 views

Inserting a row on a different sheet

Here is my code to insert a row at row 3. function copyCredits(){ var spreadsheet = SpreadsheetApp.getActive(); spreadsheet.setActiveSheet(spreadsheet.getSheetByName('New Credits'), ...
Maria's user avatar
  • 11
0 votes
0 answers
16 views

Using treeview as a listbox to add rows in database

Im making a prescription management app i have 2 classes Presman which i include the gui making methods the Newpreswin class where i call functions from presman to create the data entry gui one of ...
Nikolaos Gasparis's user avatar
0 votes
1 answer
365 views

Merge Rows in Excel using same columns and 2 different columns

I have data like below. I need to keep same column on basis of 1,2,3,5,9 and column 6,7,8 need to be combined or merged into one. For the below example first 8 rows are duplicated but in actual there ...
user12063090's user avatar
2 votes
2 answers
105 views

Write a loop in R to collapse rows based on identical consecutive column values

I am trying to write a loop in R to collapse rows. Let's say I'm using a data frame like this one: r1 <- c(1, 1,1000,2) r2 <- c(1, 1001,2000, 2) r3 <- c(1, 2001,3000, 2) r4 <- c(1, 3001,...
Louise's user avatar
  • 23
0 votes
1 answer
62 views

WPF-Deleting DataGrid row

I want to delete a row from a WPF DataGrid that I fill with a query with data from two tables. With the traditional way using a single unique table, delete works, but with query, it doesn't get the ...
Formulaz5's user avatar
0 votes
0 answers
32 views

Is there a way to order the rows of a data frame droping in the same function the rownames?

When I order a data frame by the values of a column using the function "order", I get the rows reordered but they preserve rownames, which they are numbers if I am not using rownames in my ...
TLaguna's user avatar
  • 21
0 votes
0 answers
12 views

Create css grid with fix numbers of rows and n number of columns? [duplicate]

html html <div class='container'> <div>1</div> <div>2</div> <div>3</div> <div>4</div> <div>5</div> <div>...
akshay patil's user avatar
0 votes
3 answers
70 views

Iterating through HTML table row by row and comparing dates in cells using Javascript, running offline, in the browser, without external dependencies

I'm no programmer, but I've seen some amount of simple code here and there. I was given a task. I asked around about how to solve it and I was told it could be done using simple Javascript, so I ...
RobertSx's user avatar
0 votes
0 answers
18 views

Create new dataframe through merging of rows with similar (non-numeric) column values

I am quite new to R and I am struggling with the following: I have a dataset that looks as follows. We have columns tnummer1 till tnummer8 (only showed tnummer1 till tnummer3 in example). I want to ...
Querijn's user avatar

1
4 5
6
7 8
244