How to remove empty columns #1540
Unanswered
ElemenT5ven
asked this question in
Q&A
Replies: 3 comments 1 reply
-
Hello, Regards, |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi, There is As to how to find empty columns.. i guess something like: n_samples = len(df)
empty_cols = [col for col in df.column_names if df[col].countna() == n_samples] Or something similar. Also, for general questions such as this we want to use the Discussions, or StackOverflow. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Oh, thank you sorry for this |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Beta Was this translation helpful? Give feedback.
All reactions