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
1 answer

altering all column names in table to be lower case in postgres

let's say I have a table in a postgres db with DDL such as: CREATE TABLE personnel_data ( ID serial primary key, NAME varchar(50), EMAIL_ADDRESS varchar(20), last_updated timestamp ); now i wish to run a query which…
mpc83
  • 83
  • 7
1
vote
2 answers

Going Through multiple columns of a csv file in C

I want to write a program, that reads a very large csv file. I want the file to read the columns by name and then print the entirety of the column. However it only prints out one of the columns in the datalist. So it only prints out the unix…
fire fireeyyy
  • 71
  • 1
  • 8
1
vote
4 answers

How to filter DataFrame rows by list of conditions simultaneously on multiple columns

I have a DataFrame where I want to filter rows appling a list of condition applicable simultaneously on two columns. For example: pd.DataFrame({'A':['Y','Y','Y','Z','Z'],'B':[1,2,2,3,4],'C':[100,200,234,358,4243]}) A B C 0 Y 1 100 1 Y …
PabloG
  • 454
  • 3
  • 12
1
vote
1 answer

filter values in a dataframe column based on null values in a different column python dataframe

I've been stuck on this for a bit so hopefully someone has better guidance. I currently have a dataframe that looks something like this(only way more rows): |"released_date"| "status" | +-------------+--------+ | 12/12/20 …
Erica
  • 15
  • 3
1
vote
2 answers

How do I get my content to favor the left column in CSS

I have an app that displays different divs and I want to style it so that as the size of the window changes, columns are added and taken away and the content is dynamically arranged within the columns. I'm using media query to add a column to the…
1
vote
3 answers

Get the highest occurrence between 2 columns

I have 2 columns, called decision1 and decision2. I want to compare them in order to get the highest occurrence between the 2, so I either get the highest occurrence in decision1 or decision2, according to the greatest one. So far my attempts led to…
1
vote
2 answers

Find youngest in each team in database

I have a players table and a teams table and I am trying to find the youngest player in each team. I can find the youngest player: SELECT lname, fname, dob, position FROM players WHERE dob = (SELECT MAX(dob) FROM players); When I try to include…
littlebear
  • 11
  • 1
1
vote
1 answer

Excel VB to copy rows from 1 sheet to another based 2 criteria met

I have zero VBA experience. I am trying to use an IF statement to met two criteria in rows on a sheet labeled Master. the criteria are if Column D = "Active" & Column E = "Spanish", I want to copy that row over to a Sheet labeled Spanish, but I do…
Rick McC
  • 11
  • 1
1
vote
1 answer

Changing Bootstrap 4 gutters without Sass

Is this possible? I did find an answer on the following post: Bootstrap change $grid-gutter-width ...and then added this code to my CSS: /* .row { margin-left: -20px; margin-right: -20px; } .row > [class^="col-"], .row > [class^=" col-"] { …
user1049944
1
vote
1 answer

Excel (Average, Std déviation, ...) - with values every Nth columns

Here is my dataset : I have many Tests (Test 1 and Test 2), and, for every test, 4 conditions (C1,C2, C3 and C4). I am looking for a solution to select the datas from the tests by conditions, on Excel. So here selecting every fourth columns. (Here…
1
vote
2 answers

Multiple Dimensions Array with C - Variable not Initialized

I'm trying to do a simple 2D array for student grades but it keeps giving me a error for "variable not initialized". #include int main() { int const rows = 3; int const columns = 4; int studentsGrades[rows][columns] = { …
1
vote
1 answer

Draw a line chart using multiple columns data (pandas)

I am trying to draw a line chart from the following data. On the x-axis, I want to show the year, on the y-axis, I want to show the population of different 'Borough'. Basically, I want to draw the population of all the boroughs throughout the years.…
Shivam Gupta
  • 211
  • 1
  • 5
1
vote
0 answers

Combining Several columns into 1, but overriding the combined value if X variable = a particular value

I am a beginner to R. I have 13 variables to combine into 1 variable. I want to override the combined cell if an unrelated VariableX = a specific string, if so, the corresponding cell of the new variable should = the string. I tried to do this…
Pre
  • 111
  • 7
1
vote
1 answer

How to make a column that starts with 0.01, and in each row, is going to be added 0.01?

I have a tab-delimited file as below: 1 f1 0 10 1 f2 0 20 1 f3 0 30 I want to replace the third column with a column that starts with 0.01, and in each row, it is going to be added 0.01. Something like this one: 1 f1 0.01 10 1 f2 0.02 20 1 f3 0.03…
Smiled
  • 35
  • 4
1
vote
4 answers

Shifting row values for multiple columns

I have the following dataframe: xR <- data.frame("A" = c(15, 13.5, 12, 9.1, NA, NA, NA, NA), "B" = c(NA, 13.6, 8.4, 6.7, 5.6, 2.0, NA, NA), "C" = c(NA, NA, 8.5, 2.43, 1.23, NA, NA, NA)) How do I shift the rows in columns…
user1655130
  • 419
  • 1
  • 3
  • 13