Today is another short one due to finals. I did some more practice problems and attempted to figure out two small issues that have been bugging me. I learned: When I get the error ‘is not callable’ for numpy arrays that means I’m trying to call the array as a function, and I need toContinue reading “Python Day 23 – (brackets) and inefficiency”
Tag Archives: gaz
Python Day 22 – practice makes humble
I just went over previous practice problems I’d already done and wow I did not realize how much I had forgotten. It definitely went faster but still… there’s much more work to do. I learned: To select a column in a numpy array is “arr[::1, 2::]”. And when you’re getting the type you just putContinue reading “Python Day 22 – practice makes humble”
Python Day 18 – Practice Frustrations
Today I went through some practice problems in my course book. So I didn’t learn as many new things but rather found out how much I didn’t know about arrays in Numpy. I learned: That you can set an array type to float with np.float64(“array”) A little thing I learned: That instead of redefining arraysContinue reading “Python Day 18 – Practice Frustrations”
Python Day 17 – Slicing and Dicing with Numpy
Good morning y’all… I learned: That you can take slices of rows/columns (for instance matrix[0] is first row, matrix[1] is second row, and so on). You can also make a .copy of a slice rather than reference the original, although I’m not sure the significance of that quite yet. To only get odd or evenContinue reading “Python Day 17 – Slicing and Dicing with Numpy”
The First 15 Days of Learning Python
Hello world! I just watched this wonderful video about advice for learning python which recommended keeping a blog. So here I am. Making a blog for the first time in my life. As the title suggests I technically started learning 15 days ago. I’ve been practicing every day and have logged 7.5 hours so far.Continue reading “The First 15 Days of Learning Python”
