Selecting pandas dataframe column by list : <p>in one of my scripts I'm selecting several columns of a dataframe, by a list of the column names. The following code works:</p>

<pre><code>data = df[lst]
</code></pre>

<p>It works fine as long as all elements of the list are included in the dataframe. If that's not the case, it will return the error "'....' not in index".</p>

<p>Is there a possibility to still select all columns which column name is included in that list, even if not all elements of the list are included in the dataframe? </p>
