get all columns names starting with pandas

46

starts_with_foo = [col for col in df if col.startswith('foo')]

Comments

Submit
0 Comments