Top "Dataframe" questions

A data frame is a 2D tabular data structure.

Pandas - How to flatten a hierarchical index in columns

I have a data frame with a hierarchical index in axis 1 (columns) (from a groupby.agg operation): USAF WBAN year …

python pandas dataframe
Convert List to Pandas Dataframe Column

I need to Convert my list into a one column pandas dataframe Current List (len=3): ['Thanks You', 'Its fine no …

python list pandas dataframe
Merge two dataframes by index

I have the following dataframes: > df1 id begin conditional confidence discoveryTechnique 0 278 56 false 0.0 1 1 421 18 false 0.0 1 > df2 concept 0 A 1 B How …

python pandas dataframe merge concat
python dataframe pandas drop column using int

I understand that to drop a column you use df.drop('column name', axis=1). Is there a way to drop …

python pandas dataframe
The difference between bracket [ ] and double bracket [[ ]] for accessing the elements of a list or dataframe

R provides two different methods for accessing the elements of a list or data.frame: [] and [[]]. What is the difference …

r list dataframe extract r-faq
Undefined columns selected when subsetting data frame

I have a data frame, str(data) to show more about my data frame the result is the following: > …

r dataframe subset
How to create empty data frame with column names specified in R?

Possible Duplicate: Create an Empty Data.Frame I need to create an empty data frame in R with specified column …

r dataframe
How to show all of columns name on pandas dataframe?

I have a dataframe that consist of hundreds of columns, and I need to see all column names. What I …

python pandas dataframe show
How do I make a list of data frames?

How do I make a list of data frames and how do I access each of those data frames from …

r list dataframe r-faq
How to split a data frame?

I want to split a data frame into several smaller ones. This looks like a very trivial question, however I …

r split dataframe r-faq