python (65.1k questions)
javascript (44.2k questions)
reactjs (22.7k questions)
java (20.8k questions)
c# (17.4k questions)
html (16.3k questions)
r (13.7k questions)
android (12.9k questions)
Apply the same function over all the elements in a folder
I have a folder in the computer containing 184.000 different .RData, all are small dataframes representing an investor transactions in a specific asset.
the dataframes represents the combinations betw...
Lorenzo Mazzucchelli
Votes: 0
Answers: 1
How to drop entire record if more than 90% of features have missing value in pandas
I have a pandas dataframe called df with 500 columns and 2 million records.
I am able to drop columns that contain more than 90% of missing values.
But how can I drop in pandas the entire record if 90...
Giampaolo Levorato
Votes: 0
Answers: 2
Change columns format when reading in csv file
I have this csv file (called df.csv):
I read it in using this code:
import pandas as pd
df = pd.read_csv('df.csv')
and I print it out using this code:
print(df)
and the output of the print looks li...
Giampaolo Levorato
Votes: 0
Answers: 1
How to use is.na to identify NA, " ", "" etc
I have 2 problems:
Problem 1: I am trying to work out how to identify any common missing value formats like NA, " ", "".
I thought is.na would identify all of these formats, can so...
Maree
Votes: 0
Answers: 1