Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • What is the rest of your error? Did you get it from running the precise code snippet that you have presented here? Commented Dec 23, 2015 at 7:57
  • Now i added the full error and i get it from this precise code presented here. Commented Dec 23, 2015 at 8:12
  • I think you should print lyr.name immediately before if lyr.name == u"allHa": to see what hint that gives. Commented Dec 23, 2015 at 8:15
  • i got the same error Commented Dec 23, 2015 at 9:19
  • 1
    could there be an issue with using for df in dfList, since you already declared a df variable above that? would you mind terrible marking up your code a little describing what certain lines are trying to do? i'm curious as to why you're listing all the dataframes after grabbing the first one. Commented Dec 23, 2015 at 16:35