It is necessary to collect from excel files, for example: 
certain lines
import pandas as pd import numpy as np text = 'коробк' fn = r'c:\Users\ALEX\Downloads\Книга1.xlsx' df = pd.read_excel(fn) # df.loc[df.isnull()] = 1 df[df.ix[:,2].str.lower().str.contains(text.lower())] DeprecationWarning: .ix is deprecated. Please use .location for label based indexing or .iloc for positional indexing
using .iloc
df.iloc[df.ix[:,2].str.lower().str.contains(text.lower())] next mistake
ValueError: cannot index with NA / NaN values