+ 2
No error but also no output
Can I print m? https://code.sololearn.com/c0Ud41HtXsYU/?ref=app
17 Respuestas
+ 8
here is a working example of Paul Jacobs code Oma Falk and it is pandas sample
https://code.sololearn.com/chYpuMNyt4eY/?ref=app
all I added was import numpy and the code worked no other addition or alterations
+ 4
I did a test in SL with a file writing and reading.
- First i did NOT import sympy. Result is as expected, file content is displayed with print.
- Second try WITH importing sympy. No output at all.
I am sure that sympy is loaded and supported. I can call functions like isprime() and so forth, but all without output.
+ 3
Think there is something wrong. I have two codes that worked in the past and now they give no output. One uses pandas, the other one numpy.
+ 3
Lothar I reported to SL.
Also Paul Jacobs faced problems with some numerical libraries.
+ 3
BroFarOps 👑 Why do you import numpy in your code when you create standart list?
+ 3
Sebastian Keßler really didn't need to here but it is somewhat standard for working with actual data to get data analysis plus matplotlib for a some projects.
If I wanted to go a bit deeper I might use scipy along with numpy and matplotlib.
However, if I'm doing theoretical mathematics such as physics, I would consider sympy.
+ 3
SoloLearn Python has been downgraded from 3.8 to 3.7
+ 2
I was wrong about numpy, probably tested it once or twice, that obviously wasn't often enough. But pandas isn't working anymore. With no error and no output. Try for yourself if you want to.
https://code.sololearn.com/cwEWP44x9NY7/?ref=app
+ 1
It seems like sympy is not supported..
+ 1
I will ask sololearn
+ 1
Paul Jacobs
nono I tested it too and reported your prog as example for numpy to SL.
Now numpy is on again I think.
0
Sami Khan Right..but in this case I expect a syntax error.
0
m=([1,2,3],[2 ,3,4])
print(m[0])
print(m[1])
0
I have an old numpy code which now registers a 'future warning' indicating changes are being made.
Would you like me to post on this thread to review?
0
Oma Falk I just created this based on Achyuth Kp details and used numpy and it worked
https://code.sololearn.com/c5hsQD7c22FY/?ref=app
0
BroFarOps 👑 so it is only sympy... okay☺️