Top "Shadowing" questions

In computer programming, shadowing occurs when a variable declared within a certain scope (decision block, method or inner class) has the same name as a variable declared in an outer scope.

Why are my dplyr group_by & summarize not working properly? (name-collision with plyr)

I have a data frame that looks like this: #df ID DRUG FED AUC0t Tmax Cmax 1 1 0 100 5 20 2 1 1 200 6 25 3 0 1 NA 2 30 4 0 0 150 6 65 Ans so …

r plyr dplyr shadowing name-collision
Weirdness calling str() to convert integer to string in Python 3?

Why is this giving me an error? >>> variable = str(21) Traceback (most recent call last): File "<pyshell#101&…

python python-3.x shadowing
What is Shadowing?

In C# what does the term shadowing mean? I have read this link but didn't fully understand it.

c# polymorphism shadowing
Is this an example of variable shadowing in JavaScript?

I learnt about the term variable shadowing in Eloquent Javascript (Chapter 3), but I am trying to understand a precise, basic …

javascript shadowing
What is variable shadowing used for in a Java class?

I'm reading my Deitel, Java How to Program book and came across the term shadowing. If shadowing is allowed, what …

java shadowing
Importing installed package from script raises "AttributeError: module has no attribute" or "ImportError: cannot import name"

I have a script named requests.py that imports the requests package. The script either can't access attributes from the …

python exception python-module shadowing
How to shadow python builtin pwd module

There is some python code that works under Linux. It uses the pwd module in a way like that: import …

python windows built-in shadowing pwd