Talk:Welch's t-test: Difference between revisions

m
Line 1,296:
a = np.array([1,2,3],dtype=float)
AttributeError: 'module' object has no attribute 'array'
</lang>--[[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 21:20, 16 March 2018 (UTC)
</bash>--~~~~
 
:Mmm. It looks like you are giving your programs the same names as the modules you are importing. Bad idea: Python will look first in the current directory, and guess what it will import when you do "import numpy"? ~~~~[[User:Eoraptor|Eoraptor]] ([[User talk:Eoraptor|talk]]) 21:20, 16 March 2018 (UTC)
1,336

edits