import ast def is_multi_index_rename_node(node): “”” Tests if the given node represents the code: .levels[].name = and returns the corresponding var, idx and val if it…
import ast def is_multi_index_rename_node(node): “”” Tests if the given node represents the code: .levels[].name = and returns the corresponding var, idx and val if it…