Most voted "reshape" questions
7 questions
Sort by count of
-
3
votes1
answer447
viewsImport CSV to Pandas database without converting string to tuple
I upload a CSV file with more than 3 million lines and about 770 Mb, I use pandas and need to convert a column that is in string format. Below the column 'lbBins', which when reading from CSV came…
-
2
votes1
answer225
viewsProblem when plotting with ggplot2 R
I am trying to plot a graph in R to display the maximum and minimum values of some variables beyond a line to mark the 0 of y, however the points of the graph come out completely out of order. I am…
-
2
votes1
answer1954
viewsContingency table in R
I have a table that summarizes in the following: Destino; Proposito; Custo;<br/> Chicago; Negocios; 35;<br/> Nova York; Negocios; 30;<br/> Miami; Turismo; 25;<br/> Chicago;…
-
2
votes2
answers222
viewsreshape2::melt counter function (unstack)
I’m working with data.frame and it is organized in long format. However I would like to put in wide format according to a variable (FAT2) so that the provisions of the columns would remain: AVA,…
-
2
votes2
answers2044
viewsTranspose a dataframe into R
I have a dataframe in R, columns have dates and values and rows have countries. LOCATION jan 1999 fev 1999 mar 1999 EU28 86.70000 85.50000 85.90000 JPN 99.76086 99.76086 101.47350 USA 90.87153…
-
0
votes0
answers29
viewsShape Android Studio
have a doubt, it would be possible to create a Shape in android studio like this model ?…
-
0
votes1
answer146
viewsTranspose column to row with condition in r
I have a file with a column and I would like to transfer it with one condition: the first number that appears and the subsequent lines should be in a row df <- data.frame(Coluna = c(1, "ALDO…