Questions tagged [multiple-columns]

Multiple-columns are when text is split into a number of parallel text columns, rather than one column of text. For CSS Multicolumn layout, use the [css-multicolumn-layout] tag.

Filter by
Sorted by
Tagged with
-1 votes
0 answers
18 views

How can I filter maximum value within each group [duplicate]

I heed to filter df so the output shout be the max value within of each group df: product_id day_of_the_week product_id_count 59536eeb13a52ef81966f81b91fb481e Tuesday ...
Practice Languages's user avatar
0 votes
3 answers
48 views

How to rename pandas column names by splitting with space

I have a dataframe like this: index col A col B col C index1 3 1 2 index2 1 4 9 index3 5 1 2 index4 8 2 2 index5 2 1 6 ...
Yash's user avatar
  • 287
0 votes
0 answers
19 views

How to separate a column to use specific info for another column in R [duplicate]

I have a column with info that looks like this ATCC_V1V2_27F_338R Chicken_02_V1V2_27F_338R . . . ATCC_V5V6_27FYM_338R Chicken_02_V5V6_27FYM_338R I want to create 3 additional columns: one with the ...
tasha's user avatar
  • 7
0 votes
1 answer
44 views

Applying two different functions to create new column

How can I use two different functions with different number of arguments and apply both to create new column in df. This works only for 1 function scenario depending on which apply method is ran last ...
Mac Barth's user avatar
-1 votes
0 answers
41 views

How to Dynamically Move Columns in the Same Row Together [closed]

I have a dynamic formula that repeats a pair of cell values an (x) number of times into a table. This is the input table (Table 1): The function used in the aggregate column B4-down: =IF(B3="&...
Idrawthings's user avatar
-1 votes
2 answers
47 views

Using awk to reformat a line of data based on conditional value in one column

I have a set of data formatted like this: r 0.000 0 0 1.000 0.010 The numbers in the columns 2 and 5 vary because it is positional data (column 2) and travel-time data (column 5). However every time ...
Dustin's user avatar
  • 17
0 votes
1 answer
46 views

How to use awk to reformat a set of data? [closed]

I have a large set of traveltime data for earthquakes formatted in 4 columns like so: 0.000 1.000 0.000 0 0.050 0.044 0.010 1 0.100 0.075 0.010 ...
Dustin's user avatar
  • 17
-1 votes
0 answers
67 views

Column name of CSV files not being read properly in python

I have a couple of CSV files that I am trying to read in Python, and they are tab-separated. When I try calling one column from the data frame, it throws a key error. So, when I try to get the column ...
I Paul Roy's user avatar
1 vote
1 answer
18 views

How do I convert multi-index columns to singular by picking different levels for each column in pandas

I have a data from emenated from .Xlsx file that has merged cells of headears on top. consequently the header that I used for reading the file is the first 4 rows, and that causes me having unwanted ...
Erfan's user avatar
  • 17
-1 votes
1 answer
65 views

MariaDB query row to column with unique filter

I am trying to convert some rows to columns in a single table and can't get it work. :( Here is my simple MariaDB table called runningtimes: So I have tried various methods including pivot or ...
OpperSnokker's user avatar
0 votes
1 answer
35 views

How to separate two different languages in single column to two different columns

My dataset contains two different languages in single column. Is their any solution to split the languages to two different columns in QGIS Below mentioned example for quick reference. I have this ...
Bruno B's user avatar
  • 117
-1 votes
1 answer
23 views

How do I prevent a two span div to make a single column wider?

I've got a two column layout in a grid where I want the columns to have the width they need. This works when I have two columns. But when I add a div that spans two columns, the smallest column ...
technetium's user avatar
-1 votes
2 answers
30 views

Fluid layout with divs aligned vertically [duplicate]

I have a fluid layout composed by div having the same width but different height. My goal (when I resize the screen) is to force any div to be aligned on left side. With a (hopefully) clear example: ...
Stefano Radaelli's user avatar
0 votes
0 answers
13 views

Second column Auto Increment from last inserted phpmyadmin

I have a table of generated invoice numbers (currently ID) which are type Primary Key AI. I now want to add another/multiple users to the table list of which they all generate sequentially from their ...
Ben Cassell's user avatar
1 vote
1 answer
41 views

Power Query Editor - Edit multiple columns with different values based on multiple conditions

I am using Power Query Editor and need to change several columns based on a several conditions. At the moment I am doing this in 3 separate steps using Table.ReplaceValue, but with each iterative ...
Jason Rogers's user avatar
0 votes
0 answers
22 views

HuggingFace Tokenizer for multiple columns

I have a dataset that has 2 text columns and 1 output column. text_a text_b output "This is a bird" "This is a pencil" 0 "This is a cat&...
user3104352's user avatar
  • 1,100
0 votes
1 answer
42 views

Unique constraint on multiple columns with JPA annotation

I have a problem when i add a unique constraint on multiple columns with JPA annotation. I use PostgresSQL I'd like to add unique constraint on 3 columns : "user_id", "science_id" ...
dusk's user avatar
  • 13
0 votes
3 answers
40 views

Pandas Create a column based on first occurrence of keyword strings from another column

I am not sure , how challenging the problem is, but this is my problem: I have a data frame say as below: df-in ColA ColB ColC ColD PA 1 2 ...
Stan's user avatar
  • 810
-1 votes
0 answers
14 views

Slider Revolution: How do I change which row is overlapped without placing the content at the top of the slider?

Website: Sanctient.org Screen Capture of Issue: Area of Incorrect Overlap More Information: Dragging Rows in the Editor Additional Information: Content Organisation Right, so I am having issues ...
Lillith Demiurge's user avatar
0 votes
0 answers
26 views

Extract conditional values from data.frame into a vector in one line in R

This is a very basic question, but I cannot find how to do it. How can I extract specific values from a data.frame into a vector in one line? For example, using mtcars dataset, how can I extract the ...
Sylvia Rodriguez's user avatar
0 votes
0 answers
3 views

Need help de-dup a table based on specific columns criteria

I am Working on a table with duplicated rows and need help to de-dup it based on three specific columns criteria. My first column contains the main duplicated IDs. My final result will be based on the ...
WIS's user avatar
  • 1
0 votes
2 answers
23 views

How to split the data frame into different groups based on the specified column names in R?

I have a big data containing 100 colunms with respective four different column names, I want to separate them into four different data frames based on their names. I have been struggling with this ...
code_new's user avatar
0 votes
1 answer
20 views

Excel key creation: copy/insert cells between existing columns for 1500x data groups

I need to line up subtypes of data from 2 different sets side by side. Right now each set of data exists in its own rows with 1500 columns. I have been manually dragging the cells from below up in ...
Kristen Briney's user avatar
0 votes
1 answer
32 views

How to make Column Stretch all the way to the footer

im learning html css responsive web design and created 3 floated columns to the left with a width of 33.33% width so they align next to each other on computers and they stack on devices with a max-...
Heavenly Gater's user avatar
3 votes
1 answer
30 views

Entity Framework Core 7 index attribute usage for multiple unique columns

I have an entity which requires both Email and Title to be unique. What's the diff between [Index(nameof(Email), IsUnique = true), Index(nameof(Title), IsUnique = true)] and [Index(nameof(Email), ...
Kok How Teh's user avatar
  • 3,359
0 votes
1 answer
37 views

how to quote multi-columns in lambda function using with_columns

Sometimes the multi-columns need to be applied complex logical process in lambda. The example can't work if column a or b contains null value.( handling null value for example here, actual process ...
bestathena's user avatar
0 votes
0 answers
30 views

can't have multiple columns expandable in GRID_DETAIL_PANEL_TOGGLE_COL_DEF DataGridPro

I am expanding on this demo: https://mui.com/x/react-data-grid/master-detail/ It allows to have one extendable column value, but not more than one, is it possible to add more than one expandable ...
Patrice Loos's user avatar
0 votes
1 answer
25 views

Iteration through 2 columns in dataframe for concatenate another column values [duplicate]

Hours=['24', '23', '22', '21', '20', '19', '18','17', '16', '15', '14', '13', '12', '11','10', '09', '08', '07', '06', '05', '04','03', '02', '01', '00'] result=[] unique_id = df['id'].unique()...
Aditi Sahay's user avatar
0 votes
1 answer
44 views

google sheet query, extract a range of cells from a range of columns

Firts of all hi everyone I'm new of this forum and I have a very low experience of the powerful gooogle sheet query My problem is to get a range of cells from a range of columns. In the shared file ...
giulius's user avatar
0 votes
1 answer
44 views

JOIN ON condition with common columns as concatenation of fields

I would like to make a JOIN ON but I have no common columns. The only relationship I have is a column in table B with a concatenation of 2 columns in table A: Table A: id name surename 1 Joe McKlein ...
Jaime's user avatar
  • 7
0 votes
0 answers
42 views

How to make boxplot multiple variables vs single x-axis in time series data using ggplot2?

I possess time series data within an Excel file named "validation.xlsx." This dataset comprises three variables: time, observed, and simulated, spanning across 132 rows. I have successfully ...
Kamal Ziaul's user avatar
0 votes
1 answer
78 views

Is it possible to group rows programmatically in KQL?

Is it possible to group rows programmatically in KQL? I know that I can run a query in KQL. And after that go to the right hand Columns settings, drag a column name to the Row Groups and group my rows ...
manymanymore's user avatar
  • 2,299
1 vote
1 answer
70 views

Columns (where value not null) to Other Ordered Columns

TableA contains 6 columns (cola, colb, colc, cold, cole, colf). A row might contain these values: null, 'orange', 'cat', null, null, 'dog' I need to return the values where not null into a new table (...
JMoli's user avatar
  • 33
0 votes
1 answer
45 views

How do i add 1 more column to this score sheet PIC attached of what i was expecting All the maths is good just need to duplicate

I have made 1 scoring sheet, but we have 2 rounds so I need x 2 next to each other I was looking at cells and columns, but not sure what to use or how to implement them into the code. Code and ...
securityNVR NVR's user avatar
1 vote
3 answers
72 views

Using R to split a structured string into multiple columns and set column names based on string values

I have a column of character string with each row containing information for multiple columns, including the column names. Every cell is structured so one can easily see the different pieces of ...
Nick's user avatar
  • 133
0 votes
0 answers
31 views

Excel formula over multiple sheets

I created a workbook where multiple people track their numbers on a weekly basis. There is a tab for each month here is an example: Person A, week 1, value week 2, value week 3, ...
dataguy's user avatar
0 votes
1 answer
16 views

How to merge a specific column with each column of a dataframe?

Let's say I have this df (my original dataframe is so much bigger) df = data.frame(ID = c(1,2,2,3,4,5,5), T = c(1,1,2,1,2,1,2), product_1 = c('A','A','B','C','A','C','D'...
Anas116's user avatar
  • 839
0 votes
0 answers
15 views

Create or merge dataframs with Complex column structure with and without header [duplicate]

I want to start my dataframe with 2 columns only including some value without header. then keep some empty rows and start a new dataframe with a different number of columns starting with the header (...
ViciOus CircLe's user avatar
0 votes
0 answers
13 views

ignore na data from merging multiple columns into one

Pic1 Pic2 pic 1:my first code North["NEWLotNo2"]=NORTH.apply(lambda x:"%s %s,%s,%s"%(x["LotNo"],x["Sect1"],x["Subset1"],x["set2"]),axis=1) ...
Yiu Cheung LAU's user avatar
0 votes
0 answers
33 views

How to put the values of multiple columns of a list into a one column? [duplicate]

I have this list of 2 dataframes ll = list(df1 = data.frame(x = 1:4), df2 = data.frame(y = 2:9) ) and I wish to obtain the following result 1 1 2 2 3 3 4 4 5 2 6 3 7 4 8 5 9 6 10 7 ...
Anas116's user avatar
  • 839
2 votes
2 answers
43 views

Use awk to extract column data with multiple names (UNIX)

Hey I am newer to using Linux and I have a large dataset with 5k columns all with different names comparing patient data. I want to subset the "PC" data from the other groups (such as BC, PR....
Ryan Fuller's user avatar
4 votes
1 answer
53 views

Counting number of times a value in 1 column occurs across multiple other columns

Summary: I am trying to count the number of times a value in 1 column appears across multiple others. I am able to do this if I specify the value manually but want to be able to do this using values ...
EarthOrbGIS's user avatar
0 votes
2 answers
40 views

SQL- group by two columns, take average and count sample for each case

My table looks like below x y z a ab 2 a ab 4 a ac 4 b ab 6 b ab 4 b ad 8 c ac 10 c ac 10 What I am looking for is this: x y avg_z number_of_sample a ab ...
Tmiskiewicz's user avatar
0 votes
0 answers
4 views

create sub from data frame in R

How to select some column and rows all together from data frame using R studio ? I tried to use example: column name [1:10] but it gives me rows numbers not the actual row info , the results is that I ...
C C's user avatar
  • 1
0 votes
0 answers
19 views

Multiple columns(for ex: boolean)as slicers in power bi

I was trying to build a slicer in power bi from multiple columns. Here is a sample of my table ID Category A Category B 1 true false. 2 false true. 3 false false. 4 true false. Category C ...
Krishna Subhash Chandran Nair's user avatar
-2 votes
1 answer
77 views

Subtotal with countifs in different columns

From given table i want to count number of text "Yes" from Result column where numeric value is 25 or 35 from number column. I want to use subtotal here as i have to filer data on groups.
Rajiv's user avatar
  • 29
0 votes
0 answers
22 views

how to get images in a row grow the same height, regardless of their initial height

Images speak better than words. I have this: which should become this: But these pictures have different sizes and aspect-ratio, I want them to fill the row but grow to get the same height. I tried ...
Mehdi Saada's user avatar
2 votes
1 answer
66 views

using awk to identify disease for patients

I have a tab seperated text file A.tsv of icd code matrix which the columns are patient id and icd codes, rows are observations for each patients. NA indicate the patient are not diagnosed as the icd ...
Ray's user avatar
  • 21
0 votes
0 answers
31 views

How to make a variable column flexbox for responsive design

I want to change the number columns to 12 when the screen size is greater 1200px, and I am not getting more than 11 columns. There is always space left for the 12th column but still the 12th column is ...
Abrar ali's user avatar
1 vote
2 answers
50 views

Creating excel formula

From table I am attaching My requirement is to Return text "Full" or "Partial" or "None". "Full" if columns A,B and C includes text "Yes", "...
Rajiv's user avatar
  • 29

1
2 3 4 5
118