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.

param col_names for indicators with one resulting column

See original GitHub issue

Some indicators return multiple columns, then it is possible to rename the returned columns with col_names but for indicators with just one column this is not working e.g. for kind wma

The renaming happens at https://github.com/twopirllc/pandas-ta/blob/b2f2cc83a16376c1eb0a11aebed52186d7eab121/pandas_ta/core.py#L406 but i cant seee why it should not work for indicators with just one resulting column

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:9 (6 by maintainers)

github_iconTop GitHub Comments

2reactions
twopirllccommented, Jul 2, 2021

@ganti,

It’s available now on the main branch or pypi. Please let me know if there are any issues.

Thanks, KJ

1reaction
ganticommented, Jul 2, 2021

Hey @twopirllc

I tested it and it works. Great job. I don’t get why I could not get it working, since I tried what you did. IMO ready to merge

Read more comments on GitHub >

github_iconTop Results From Across the Web

Correspond Indicator Matrix to Column Names in R
1 Answer 1 ... It seems like several things are going on here. You've made LogACG the explanatory variable in your 2nd-to-last line...
Read more >
DESCRIBE statement [ESQL] - Sybase Infocenter
The WITH VARIABLE RESULT statement is used to describe procedures that might have more than one result set, with different numbers or types...
Read more >
Functions - pyjanitor documentation
This method mutates the original DataFrame. Given a DataFrame containing multi-level columns, flatten to single-level by string-joining the column labels in ...
Read more >
Creating analyses from table or column names - 8.0
In the studio, you can use simplified ways to create one or multiple column analyses. All what you need to do is to...
Read more >
colnames: Row and Column Names - Rdrr.io
Row and Column Names. Description. Retrieve or set the row or column names of a matrix-like object. Usage. rownames(x, do.NULL = TRUE, prefix...
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