'How can I fix for unhashable type series problem

The following code has generated this error message:

(dd 
   [['cfs']]
  .loc['2018/3':'2019/5']

  .query('cfs.isna()')
)
--->TypeError: unhashable type: 'Series'

Can somebody help me in figuring out the problem?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source