Here is an example of a similar filter I can easily apply to a df (it contains almost one million rows):
df[‘Value’][df[‘Column 1’] == ‘Name 1’][df[‘Column 2’] == ‘Name 2’]
But when I try to apply the same filter to the same df, but in a different Jupyter Notebook file, it never stops loading the file - or put differently, Python does not finish the task I ask. In this specific file, Python only allows me to apply “half” of the filter above:
df[‘Value’][df[‘Column 1’] == ‘Name 1’]
When I try the complete filter, Python never finish the task.
Can anyone help me to understand why Python never finish to load a simple filter that was already used in a different Jupyter Notebook file?