Re: perplexing error

2018-09-10 Thread Chris Angelico
On Tue, Sep 11, 2018 at 7:50 AM, Peter Pearson wrote: > On 8 Sep 2018 19:10:09 GMT, Stefan Ram wrote: >> Peter Pearson writes: >>>On 8 Sep 2018 17:25:52 GMT, Stefan Ram wrote: In such cases, I do: print( 'at position 1' ) >>>This approach is especially valuable when it turns out that >>

Re: perplexing error

2018-09-10 Thread Peter Pearson
On 8 Sep 2018 19:10:09 GMT, Stefan Ram wrote: > Peter Pearson writes: >>On 8 Sep 2018 17:25:52 GMT, Stefan Ram wrote: >>>In such cases, I do: >>>print( 'at position 1' ) >>This approach is especially valuable when it turns out that >>the file you're editing is not the file being included. > >

Re: perplexing error

2018-09-09 Thread Sharan Basappa
On Sunday, 9 September 2018 00:02:49 UTC+5:30, Peter Otten wrote: > Sharan Basappa wrote: > > > I am running a small python code. The main module calls another data > > loader module. I keep this getting this error. > > > > AttributeError: 'str' object has no attribute 'raw_data' > > > > I trie

Re: perplexing error

2018-09-08 Thread Peter Pearson
On 8 Sep 2018 17:25:52 GMT, Stefan Ram wrote: > Sharan Basappa writes: >> 66 # get the label for each log >> 67 data_df['label'] = (data_df['label'] != '-').astype(int) >>---> 68 #logger.debug("data frame %s \n", data_df) >> 69 logger.debug("\n") >>

Re: perplexing error

2018-09-08 Thread Peter Otten
Sharan Basappa wrote: > I am running a small python code. The main module calls another data > loader module. I keep this getting this error. > > AttributeError: 'str' object has no attribute 'raw_data' > > I tried few things in the code and finally realized that no matter the > line number is 6

perplexing error

2018-09-08 Thread Sharan Basappa
I am running a small python code. The main module calls another data loader module. I keep this getting this error. AttributeError: 'str' object has no attribute 'raw_data' I tried few things in the code and finally realized that no matter the line number is 68 of data loader module. Of course