Home
Q&A
Education
Technology
Credit
General
Health
Insurance
Questions
Ask a Question
Recent questions tagged Dataframe
0
votes
Q: Combine two data frames by rows (rbind) when they have different sets of columns
I want to bind two data frames with different set of columns and I also want to retain all the columns that fails to ... do that in R? Select the correct answer from above options...
asked
Jan 23, 2022
in
Education
by
JackTerrance
r
r-faq
dataframe
0
votes
Q: Counting unique / distinct values by group in a data frame
I have a dataframe: > myvec name order_no 1 Nehal 12 2 sejal 14 3 sejal 16 4 shyam 11 5 Nehal 12 6 Sejal 16 ... Sejal 3 Shyam 1 Ram 1 Select the correct answer from above options...
asked
Jan 23, 2022
in
Education
by
JackTerrance
distinct-valurs
r-faq
r
dataframe
0
votes
Q: Drop data frame columns by name
I want to remove some questions from data frame, I know how to delete them individually using df$x...
asked
Jan 23, 2022
in
Education
by
JackTerrance
r-faq
r
dataframe
data
0
votes
Q: Delete column from pandas DataFrame
How to delete a column in a DataFrame, currently I am using: del df['column_1'] this is working fine, ... expected df.column_name ? Select the correct answer from above options...
asked
Jan 22, 2022
in
Education
by
JackTerrance
dataframe
python
python-faq
panda
0
votes
Q: How to split data into 3 sets (train, validation and test)?
I wish to divide pandas dataframe to 3 separate sets. I know by using train_test_split from sklearn.cross_validation, ... ? kindly help Select the correct answer from above options...
asked
Jan 22, 2022
in
Education
by
JackTerrance
pandas
numpy
dataframe
scikit-learn
0
votes
Q: How to iterate over rows in a DataFrame in Pandas?
There is a DataFrame from pandas: import pandas as pd inp = [{'e2':20, 'e3':200}, {'e2':22,'e3':220}, { ... '] Can I do this in Pandas? Select the correct answer from above options...
asked
Jan 22, 2022
in
Education
by
JackTerrance
rows
python
dataframe
python-faq
0
votes
Q: Remove rows with all or some NAs (missing values) in data.frame
Want to remove the lines from data frame from that : Have NAs across all columns a b c d e f 1 YASH00000206234 0 ... 0 1 2 3 2 Select the correct answer from above options...
asked
Jan 22, 2022
in
Education
by
JackTerrance
r
dataframe
filter
missing-data
0
votes
Q: Select rows from a DataFrame based on values in a column in pandas
I want to select rows from a DataFrame based on values in some column in pandas, How can I do it? I ... WHERE column_name = some_value Select the correct answer from above options...
asked
Jan 22, 2022
in
Education
by
JackTerrance
python
pandas
dataframe
value
0
votes
Q: Renaming columns in pandas
I created a dataframe and column labels in pandas and I need to edit in order to replace the original column ... names. Please help? Select the correct answer from above options...
asked
Jan 22, 2022
in
Education
by
JackTerrance
python
replace
pandas
dataframe
0
votes
Q: How to sum a variable by group in R?
I have a data which consists of two columns "Students" & "points" x...
asked
Jan 21, 2022
in
Education
by
JackTerrance
r
dataframe
r-programming
Page:
« prev
1
2
...