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
33
votes
2 answers

Set the variable result, from query

When I create the saved procedure, i can create some variable yes? for example: CREATE PROCEDURE `some_proc` () BEGIN DECLARE some_var INT; SET some_var = 3; .... QUESTION: but how to set variable result from the query, that is how to…
32
votes
11 answers

Operation is not valid while ItemsSource is in use. Access and modify elements with ItemsControl.ItemsSource instead

I am new in Binding and WPF recently I've learned how to create a listBox with multiple columns using Binding tech
Yasser
  • 1,725
  • 4
  • 22
  • 28
31
votes
1 answer

Pandas dataframe - running sum with reset

I want to calculate the running sum in a given column(without using loops, of course). The caveat is that I have this other column that specifies when to reset the running sum to the value present in that row. Best explained by the following…
Baron Yugovich
  • 3,843
  • 12
  • 48
  • 76
29
votes
2 answers

Latex table multiple row and multiple column

I'm trying to create a table in Latex but without success. I tried different solutions but no one solves my problem. I would like create a table like the picture below: Can anyone show how to do this in Latex please?
Stefano C.
  • 1,033
  • 3
  • 13
  • 17
28
votes
3 answers

how to edit text in multiple columns in vim

How can I edit my code in Vim by displaying it in any number of columns? My laptop and desktop monitors are widescreen (I suspect that is true of most monitors made in the last 5 or 10 years!). When I open any editor in full screen, more than half…
Shahbaz
  • 10,395
  • 21
  • 54
  • 83
28
votes
5 answers

Split a list column into multiple columns

I have a data frame where the last column is a column of lists. Below is how it looks: Col1 | Col2 | ListCol -------------------------- na | na | [obj1, obj2] na | na | [obj1, obj2] na | na | [obj1, obj2] What I want is Col1 | Col2 |…
Santi
  • 381
  • 1
  • 3
  • 7
27
votes
3 answers

Renaming the column names of pandas dataframe is not working as expected - python

I am having below pandas dataframe df. I am trying to rename the column names but it not working as expected. Code: mapping = {df.columns[0]:'Date', df.columns[1]: 'A', df.columns[2]:'B', df.columns[3]: 'C',df.columns[4]:'D', df.columns[5]:…
Arvinth Kumar
  • 964
  • 3
  • 15
  • 32
26
votes
3 answers

Multicolumn ListBox in WPF

I have 3 TextBoxes and 1 Button and want to enter each of the the TextBoxes data into a ListBox in separate columns. I know how to enter data into one column: listbox1.Items.Add(TextBox1.text); but how can I enter the data into multiple columns? I…
user1156309
  • 269
  • 1
  • 3
  • 4
26
votes
8 answers

Read CSV file column by column

I want to read specific columns from a multi column csv file and print those columns in other csv file using Java. Any help please? Following is my code to print each token line by line..But I am looking to print only few columns out of the multi…
drupal_dev
  • 279
  • 1
  • 3
  • 4
25
votes
2 answers

R subsetting a data frame into multiple data frames based on multiple column values

I am trying to subset a data frame, where I get multiple data frames based on multiple column values. Here is my example >df v1 v2 v3 v4 v5 A Z 1 10 12 D Y 10 12 8 E X 2 12 15 A Z 1 10 …
Rachit Agrawal
  • 3,203
  • 10
  • 32
  • 56
24
votes
13 answers

LINQ to Entities - where..in clause with multiple columns

I'm trying to query data of the form with LINQ-to-EF: class Location { string Country; string City; string Address; … } by looking up a location by the tuple (Country, City, Address). I tried var keys = new[] { new {Country=…,…
millimoose
  • 39,073
  • 9
  • 82
  • 134
23
votes
2 answers

ddply + summarize for repeating same statistical function across large number of columns

Ok, second R question in quick succession. My data: Timestamp St_01 St_02 ... 1 2008-02-08 00:00:00 26.020 25.840 ... 2 2008-02-08 00:10:00 25.985 25.790 ... 3 2008-02-08 00:20:00 25.930 25.765 ... 4 2008-02-08 00:30:00 25.925…
Reuben L.
  • 2,806
  • 2
  • 29
  • 45
22
votes
5 answers

How to merge/combine columns in pandas?

I have a (example-) dataframe with 4 columns: data = {'A': ['a', 'b', 'c', 'd', 'e', 'f'], 'B': [42, 52, np.nan, np.nan, np.nan, np.nan], 'C': [np.nan, np.nan, 31, 2, np.nan, np.nan], 'D': [np.nan, np.nan, np.nan, np.nan, 62, 70]} df =…
mati
  • 1,093
  • 4
  • 12
  • 18
22
votes
3 answers

HTML Table - Both fixed and multiple variable column widths

I have to build a table with 5 columns. The table width is variable (50% of content width). Some columns contain fixed-size buttons, so those columns should have a fixed with, say 100px. Some columns have text in them, so I want those columns to…
Basaa
  • 1,615
  • 4
  • 20
  • 41
21
votes
4 answers

Select column 2 to last column in R

I have a data frame with multiple columns. Now, I want to get rid of the row.names column (column 1), and thus I try to select all the other columns. E.g., newdata <- olddata[,2:10] is there a default symbol for the last column so I don't have to…
user2015601