question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Newb Problem with get_column Error/Warning

See original GitHub issue

New to pandas-ta & not a programmer by profession

Any help or suggestions would be appreciated. I have the following 1 line of code below that is utilizing vwma. I’ve checked the output mathematics in Excel & it appears to be working fine, but I’m getting a long series of the Error below. Searching others issues here, I gather that it’s the ‘def _get_column’ that’s being triggered. I’m not sure why it’s looking for a column when I’ve specified them below and confirmed that it is indeed using them to calculate?? I also checked the ‘_average’ (price) & ‘_volume’ columns referenced below & confirmed there are no ‘na’ values in the series.

Any help would be appreciated. It’s cluttering up my Jupyter notebook. Couldn’t find a way to suppress the warning/error message either??

for num in vwap_nums:
        #generates issues below, but doesn't seem to effect anything
        feat_df[symb + '_VWAP_' + str(num)] = feat_df.ta.vwma(close=symb + '_average', volume=symb + '_volume', offset=0, length=num)
Error:  
`[X] Ooops!!!: It's True, the series 'volume' was not found in index, date, day_dt, dayofweek, max_time`

…(continues on listing all columns in the dataframe)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
John64commented, Dec 19, 2020

Perfect! Thank You On a side note, I was getting small, couple cent differences on $100 stocks between Excel and pandas-ta vwma when there were errors/warnings. Figured it was rounding, but now all values are difference of exactly 0. Guess that’s why one shouldn’t ignore errors 😃

0reactions
twopirllccommented, Dec 20, 2020

Excellent! Thanks for letting me know.

That’s weird you were getting cent differences on $100 stocks versus Excel. No numerical transformations are performed after an indicator is returned. But thanks for the potential heads up.

Thanks, KJ

Read more comments on GitHub >

github_iconTop Results From Across the Web

getColumn: one common error and one subtle error explained
I went to the App Lab source code to see why this might be happening. What I found is that getColumn is implemented...
Read more >
Notifications (Error, Warning or Info) - Spotfire Developer
Notifications (Error, Warning or Info). Notifications are useful for your scripts to tell the user what went wrong or even debug. Enjoy! from...
Read more >
Warnings and Errors - Oracle Help Center
Error number Error or warning message Details 403 Attempt to read from checkpoint truncated 412 Bad file‑open mode Internal error. Contact TimesTen C... 413 Bad file‑exists...
Read more >
Php Upload CSV and Get Column data - Stack Overflow
I need to search for column header that starts with “SKU” and then “COST” From there once those are found then I want...
Read more >
Checklist: JavaCC error/warning coverage · Issue #12 - GitHub
getColumn () + ". 222 sl, "Duplicate definition of string token \"" + sl.image + "\" ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found