Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed yesterday.
Improve this question
there is one dataframe with columns A and B, each value in A has many values in B,
i want to perform few steps on rows for each of the value in A.
could you help to do it in spark
Related
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 7 months ago.
Improve this question
Is there any nice build in function in pandas which can convert values in DataFrame to percent (by rows, by columns or any more complex combination with use of levels)?
Im not sure that is what you mean, but if you want to know the percentage value within the columns you can do it like this:
for col in df:
df[col] = (df[col]/df[col].sum()) * 100
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 1 year ago.
Improve this question
I'm trying to count the columns that have the same name. I need a formula to apply it to all data.
For example, I am trying to count the amount of cloumns with ID=11 and write them in row "N".
Is there a simple formula for this?
Try using COUNTIF:
=COUNTIF(A3:A25, 11)
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 5 years ago.
Improve this question
How to count the number of authors in a column? I need the count on
I'm assuming that you have 10 authors in a column A.
The first record in A2 and last in A11. Then You can get the count in A12 by using this formula
=COUNTA(A2:A11)
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I have a worksheet where after all the operations are done I want to clear all the contents except in first three columns (A, B, C).
Is it possible to achieve using VBA?
To remove formula and values use:
Range("D:XFD").ClearContents
To remove formula, values and formatting, use:
Range("D:XFD").Clear
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I have a excel cells with username.id.I want to delete usernames and I just want ID's to be displayed in cells.
EG: sunny.123 should be transformed to 123
Try this formula:
=RIGHT(A1,LEN(A1)-SEARCH(".",A1))*1
This assumes that your IDs are always using the schema String.Number
If this is not always the case, this formula handles a few more situation:
=IF(ISERROR(SEARCH(".",A1)),IF(ISNUMBER(A1),A1,"Pattern does not match User.Id!"),RIGHT(A1,LEN(A1)-SEARCH(".",A1))*1)