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.

Multiple-columns are often found in newspapers and magazines, where a single column of text would create a line length longer than the ideal width of optimal readability.

Text can be set to use multiple-columns in CSS by using the CSS Multiple-column layout module.

5872 questions
1
vote
2 answers

Why are my columns being aligned vertically instead of in 2 rows?

On my website, everything had been normal, and then I changed something unrelated and all the sudden my product columns got moved all the way to the left and placed single file in a vertical line. It's supposed to be two rows of three, not 6 rows of…
LemmyX
  • 137
  • 15
1
vote
2 answers

Counting occurences in data frame based on multiple columns - R

I have a csv file game.csv. Here is the sample of the dataset home guest result team1 team2 w team2 team3 l team1 team3 l How can I get the count of team1 wins when played at home ground in R language? Thanks in advance.
1
vote
2 answers

Unique value Constraint with multiple columns across the table, not the combination in Oracle

In oracle is there a way to enforce uniqueness among two columns? Its not the uniqueness among combination of two columns, but values across table among two columns. References: Unique value constraint across multiple columns Example data, which…
Kevin Rave
  • 13,876
  • 35
  • 109
  • 173
1
vote
1 answer

statistics on several columns of data in R

I am going to find mean, median and ... of my data. However, I need to find these data for for example every 10 columns which there are some NA data in my columns. Can you guide me how I should do that, please. Maybe this is a basic question but I…
Shalen
  • 95
  • 6
1
vote
1 answer

Can we insert data in few columns of table in Azure databricks databases?

We are unable to insert data into few columns of a table in Azure databricks databases. Doing an insert in all columns of a table are working fine. Can someone please suggest how we can insert data into limited required columns of a table over Azure…
1
vote
2 answers

Combine selected values across columns into one column

I have a dataframe df where: a b c d 4 K 12 6 6 L K P 7 3 P 1 0 L 90 K 1 P 4 5 0 K 17 23 How do I combine the two columns b, c, and d into a new column named x such that it only keeps the letters K, L, and P to look like…
keaton
  • 47
  • 4
1
vote
2 answers

Is there a function in GREL to remove many columns at once based on their headers in OpenRefine?

I have a file with 76 columns, out of which 52 columns are irrelevant and should be removed based on their column headers (i.e. string of names). OpenRefine offers the possibility to manually Re-order/remove columns but I was wondering if there is a…
Erfanesi
  • 11
  • 1
1
vote
2 answers

VBA comboBox multicolumn remove blank row and specific value listed

I have a comboBox which list two columns (A and H). The conditions to list the items are: 1. Add items who doesn't content blank row from the column A 2. Add items who aren't equal to zero for the column H I was able to perform the first condition…
1
vote
3 answers

Replace missing value with mean of class within column

I have a large dataset with some missing values (NAs). I'm looking to replace these values with the column means but by class, that is, where items in class k have a missing value in column j, that value will be replaced by the mean of values in…
Mobeus Zoom
  • 598
  • 5
  • 19
1
vote
2 answers

Multiply all values in each column of a data frame by another value based on matching column names

I would like to find an efficient way to multiply all values in each column in this data-frame dd <- data.frame(a=1:10,b=2:11,c=3:12) with a value that corresponds to the name of that column on another "index" data-frame (like in either of the…
1
vote
1 answer

Creating a New Race Variable from Existing Column in Data Frame in R (with case_when function)

I am working with data from the National Health Interview Survey and trying to simplify the race variable into 5 buckets. I want to create a new column titled "RACE" from existing data which includes Asian =1, Black=2, White (non-Hispanic)=3,…
juliah0494
  • 175
  • 11
1
vote
2 answers

Extract Pandas Columns between two values

I have data as follows. First 2 columns are strings and columns names of columns df[3:60] as consecutive Year. How can I extract all the columns with years between 2005: 2010 and 2015 to everything Country Indicator 1960 1961 1962 …
anonymous13
  • 581
  • 1
  • 5
  • 17
1
vote
2 answers

replace multiple columns of data frame with indexing in r

I'm trying to replace multiple columns of a large data frame based with indexing. What I want/have done so far combines this post and this post. Let me provide the example for clarity. Here is much simplified sample data in dput format: DF…
KNN
  • 459
  • 4
  • 19
1
vote
2 answers

Quick way of creating a long data frame for repeated values and variable characters

Is there a quick way of creating a data frame for this (4columns x 3060 rows)? Column 1: Repeating (1:17) until row 3060 Column 2: Repeating: (6x"W", 5x"M", 6x"E")like this: (W, W, W, W, W, W, M, M, M, M, M, E, E, E, E, E, E) until row 3060 Column…
Ecg
  • 908
  • 1
  • 10
  • 28
1
vote
1 answer

Using symbols to correctly match columns in Awk?

I have two separate files, Input_File1 and Input_File2, each containing a different number of columns which I have merged (with some help) based on data in multiple columns. So far a column is added to Input_File1 to create a new file (file3) based…
Jpike
  • 187
  • 8
1 2 3
99
100