Skip to content
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

Autotranslation does not respect set_index for pandas dataframe #7775

Closed
LeeTZ opened this issue Aug 29, 2018 · 0 comments
Closed

Autotranslation does not respect set_index for pandas dataframe #7775

LeeTZ opened this issue Aug 29, 2018 · 0 comments
Assignees

Comments

@LeeTZ
Copy link
Contributor

LeeTZ commented Aug 29, 2018

With the following code in GeneralAutotranslation.ipynb:

%%python
import pandas as pd
df = pd.read_csv('../resources/data/interest-rates.csv')
df.set_index('time')
beakerx.rates = df

And beakerx.rates would not set time column as the index column.
If we do

df = df.set_index('time')

instead, then time column would omits in output.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants