AttributeError: 'NoneType' object has no attribute 'fileno'

0

Good morning! I'm starting my studies on python-pandas, and I have a problem that seems like simple resolution. But not for me. Still. I'm following this tutorial: link

I can create the dataframe, but when trying the command "df.loc [df.AAA > = 5, 'BBB'] = -1", I have an error. The error message is large, but the end is this: "AttributeError: 'NoneType' object has no attribute 'fileno'". Could someone tell me what to do to solve this problem? Thanks

    
asked by anonymous 20.12.2017 / 12:59

0 answers