Using pandas==1.2.1
MRE:
data = "aaaa"
def JoinStr(a):
return data + a
JoinStr("sd")
this outputs "aaaasd"
But from my understanding function doesn't know what data
is unless it is given it, why is this possible in jupyter notebook? all data assigned in jupyter notebook(or is this for all python) work as global variable?