Data science Python notebooks: Deep learning (TensorFlow, Theano, Caffe, Keras), scikit-learn, Kaggle, big data (Spark, Hadoop MapReduce, HDFS), matplotlib, pandas, NumPy, SciPy, Python essentials, AWS, and various command lines.
python
aws
data-science
machine-learning
caffe
theano
big-data
spark
deep-learning
hadoop
tensorflow
numpy
scikit-learn
keras
pandas
kaggle
scipy
matplotlib
mapreduce
-
Updated
May 13, 2021 - Python
What happened:
If a negative value for
drop_axis
is passed into eithermap_blocks
ormap_overlap
a non-informative exception is raised.What you expected to happen:
I would expect this would work as in NumPy for negative axis arguments where axis becomes
axis = axis % array.ndim
. If it is not intended to work, then it should raise a user-friendlyAxisError
. This came up