8000 Shift an empty data frame panic · Issue #193 · jealous/stockstats · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Shift an empty data frame panic #193

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jealous opened this issue May 18, 2025 · 0 comments
Closed

Shift an empty data frame panic #193

jealous opened this issue May 18, 2025 · 0 comments
Assignees
Labels

Comments

@jealous
Copy link
Owner
jealous commented May 18, 2025

The shift function cannot accept empty data frame.
The reason is we use previous/next value to fill the empty cell. An empty data frame results in a invalid index error.

@jealous jealous self-assigned this May 18, 2025
@jealous jealous added the bug label May 18, 2025
jealous added a commit that referenced this issue May 18, 2025
The shift function cannot accept empty series.
The reason is we use previous/next value to fill the empty cell.
An empty data frame results in a invalid index error.

The fix returns the empty series.
jealous added a commit that referenced this issue May 18, 2025
The shift function cannot accept empty series.
The reason is we use previous/next value to fill the empty cell.
An empty data frame results in a invalid index error.

The fix returns the empty series.
jealous added a commit that referenced this issue May 18, 2025
The shift function cannot accept empty series.
The reason is we use previous/next value to fill the empty cell.
An empty data frame results in a invalid index error.

The fix returns the empty series.
jealous added a commit that referenced this issue May 18, 2025
The shift function cannot accept empty series.
The reason is we use previous/next value to fill the empty cell.
An empty data frame results in a invalid index error.

The fix returns the empty series.
@jealous jealous closed this as completed May 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant
0