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.

4830 questions
1215
votes
3 answers

Using group by on multiple columns

I understand the point of GROUP BY x. But how does GROUP BY x, y work, and what does it mean?
Alex Gordon
  • 51,480
  • 273
  • 609
  • 976
605
votes
21 answers

Expand a div to fill the remaining width

I want a two-column div layout, where each one can have variable width e.g. div { float: left; } .second { background: #ccc; }
Tree
View
I want the 'view' div to expand to the whole width…
Anurag Uniyal
  • 77,208
  • 39
  • 164
  • 212
310
votes
7 answers

How do I change Bootstrap 3 column order on mobile layout?

I'm making a responsive layout with a top fixed navbar. Underneath I have two columns, one for a sidebar (3), and one for content (9). Which on desktop looks like this navbar [3][9] When I resize to mobile the navbar is compressed and hidden,…
user3000310
  • 3,105
  • 2
  • 10
  • 5
268
votes
10 answers

Unique Key constraints for multiple columns in Entity Framework

I'm using Entity Framework 5.0 Code First; public class Entity { [Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)] public string EntityId { get; set;} public int FirstColumn { get; set;} public int SecondColumn { get; set;} …
260
votes
14 answers

Apply pandas function to column to create multiple new columns?

How to do this in pandas: I have a function extract_text_features on a single text column, returning multiple output columns. Specifically, the function returns 6 values. The function works, however there doesn't seem to be any proper return type…
smci
  • 26,085
  • 16
  • 96
  • 138
259
votes
11 answers

Scrolling a flexbox with overflowing content

Here's the code I'm using to achieve the above layout: .header { height: 50px; } .body { position: absolute; top: 50px; right: 0; bottom: 0; left: 0; display: flex; } .sidebar { width: 140px; } .main { flex:…
Joseph Silber
  • 193,614
  • 53
  • 339
  • 276
137
votes
7 answers

LINQ to SQL: Multiple joins ON multiple Columns. Is this possible?

Given: A table named TABLE_1 with the following columns: ID ColumnA ColumnB ColumnC I have SQL query where TABLE_1 joins on itself twice based off of ColumnA, ColumnB, ColumnC. The query might look something like this: Select t1.ID, t2.ID, t3.ID …
aarona
  • 32,176
  • 39
  • 119
  • 171
130
votes
19 answers

How to print third column to last column?

I'm trying to remove the first two columns (of which I'm not interested in) from a DbgView log file. I can't seem to find an example that prints from column 3 onwards until the end of the line. Note that each line has variable number of columns.
Amit G
  • 4,507
  • 4
  • 25
  • 29
127
votes
8 answers

Combine two or more columns in a dataframe into a new column with a new name

For example if I have this: n = c(2, 3, 5) s = c("aa", "bb", "cc") b = c(TRUE, FALSE, TRUE) df = data.frame(n, s, b) n s b 1 2 aa TRUE 2 3 bb FALSE 3 5 cc TRUE Then how do I combine the two columns n and s into a new column named x…
user2654764
  • 1,479
  • 3
  • 13
  • 12
122
votes
10 answers

IntelliJ Column Selection using Cursor Keys

Is it possible to some how setup IntelliJ IDEA so that I can column select with the cursor keys similarly to how I might in Notepad++, Visual Studio, or FlashDevelop. For instance when I'm typing code I almost always do my navigation solely through…
84
votes
4 answers

Select NOT IN multiple columns

I need to implement the following query: SELECT * FROM friend WHERE ( friend.id1, friend.id2 ) NOT IN (SELECT id1, id2 FROM likes) But NOT IN can't be implemented on multiple columns. How…
Gunjan Nigam
  • 1,083
  • 3
  • 9
  • 17
80
votes
1 answer

Half columns in Twitter Bootstrap 3

I couldn't figure out how to make the bootstrap column like this: col 3 | col 4.5 | col 4.5
65
votes
8 answers

Python Pandas - Changing some column types to categories

I have fed the following CSV file into iPython Notebook: public = pd.read_csv("categories.csv") public I've also imported pandas as pd, numpy as np and matplotlib.pyplot as plt. The following data types are present (the below is a summary - there…
gincard
  • 1,404
  • 2
  • 13
  • 23
57
votes
3 answers

How does cellForRowAtIndexPath work?

I HAVE READ apple documentation and it's not understandable for such a beginner in Objective-C as me. I'm trying to implement multicolumn UITableView following this link example and it just doesn't work so i need to comprehend how…
Andrey Chernukha
  • 20,316
  • 16
  • 89
  • 153
51
votes
3 answers

Have two columns in Markdown

I would like to write a coding standard specification document with good and bad coding examples. Each rule should have a number, a description and an example. For example here is the rule 1: # Rule 1 Description for rule 1. ## Good ```c int foo…
nowox
  • 19,233
  • 18
  • 91
  • 202
1
2 3
99 100