Search snippets
Browse Code Answers
FAQ
Usage docs
Log In
Sign Up
Home
Python
df only take 2 columns
Maine03
Programming language:
Python
2021-07-12 13:17:29
0
Q:
df only take 2 columns
geekahedron
Code:
Python
2021-07-11 06:01:08
df1 = df
[['a', 'b']]
0
Tags
columns
Related
how many columns can a pandas dataframe have
pandas compare two columns
assign multiple columns pandas
set dtype for multiple columns pandas
pd count how many item occurs in another column
python pandas selecting multiple columns
create dict from two columns pandas
How to join two dataframes by 2 columns so they have only the common rows?
python add multiple columns to pandas dataframe
distplot for 2 columns
pandas create a new column based on condition of two columns
merge two columns name in one header pandas
New to Communities?
Join the community