Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

DataFrameClient doesn't return pandas dataframe? #278

Closed
ghost opened this issue Dec 13, 2015 · 1 comment
Closed

DataFrameClient doesn't return pandas dataframe? #278

ghost opened this issue Dec 13, 2015 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 13, 2015

I'm struggling to get an actual dataframe back from DataFrameClient:

data = DataFrameClient(host='influxdb-host', \
                                       username='`someone', \
                                       password='something', \ 
                                       database='weer')
df = data.query('SELECT* from knmiactueelweer where Station = \'De Bilt\' limit 5')

but where I'm expecting a pandas.dataframe back, the DataFrameClient returns a dict!

type(df)
<class 'dict'>
@ghost
Copy link
Author

ghost commented Dec 13, 2015

Just dawned on me. It returns a dict of dataframes.

@ghost ghost closed this as completed Dec 13, 2015
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants