![Modifying Data AttributeError: module 'string' has no attribute 'lower' - Python - Codecademy Forums Modifying Data AttributeError: module 'string' has no attribute 'lower' - Python - Codecademy Forums](https://global.discourse-cdn.com/codecademy/optimized/5X/5/b/a/2/5ba27e396508da9bb545158f90950457324ce895_2_653x500.png)
Modifying Data AttributeError: module 'string' has no attribute 'lower' - Python - Codecademy Forums
In [27]: In [2]: In [3]: In [10]: In [11]: re.compile('[a-z]+', re.IGNORECASE) -------------------------------------------------
![how can i fix this please ('ImageDataGenerator' object has no attribute 'ndim')??? | Data Science and Machine Learning | Kaggle how can i fix this please ('ImageDataGenerator' object has no attribute 'ndim')??? | Data Science and Machine Learning | Kaggle](https://www.googleapis.com/download/storage/v1/b/kaggle-user-content/o/inbox%2F4244482%2F24bf601ea67eef3df2835f53a9bdcec4%2FScreenshot%20from%202020-05-10%2008-14-51.png?generation=1589109423500159&alt=media)
how can i fix this please ('ImageDataGenerator' object has no attribute 'ndim')??? | Data Science and Machine Learning | Kaggle
![attributeerror: 'generator' object has no attribute 'shape' - You.com | The search engine you control. attributeerror: 'generator' object has no attribute 'shape' - You.com | The search engine you control.](https://i.stack.imgur.com/Q9J1d.png)
attributeerror: 'generator' object has no attribute 'shape' - You.com | The search engine you control.
![python - AttributeError: 'DirectoryIterator' object has no attribute 'shape' Tensorflow CNN - Stack Overflow python - AttributeError: 'DirectoryIterator' object has no attribute 'shape' Tensorflow CNN - Stack Overflow](https://i.stack.imgur.com/2PAQj.png)