a very beginner. how can i deal with the error on the title? it says "Index([\'type\'], dtype=\'object\') is missing.
i use locs so much, how can i