You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.
I am trying to store some trading data into InfluxDB using the DataFrameClient with the write_points method. I have read the documentation online as well as the following two issues, #286 and #510.
Leads to the same error message above. I have three questions I would really love to get help on!:
How do I fix what I am doing above? Is it the protocol thats wrong? In the documentation, the comment suggests to use "json" as a workaround for some reported bugs
I also have the same time stamp for two different tag values (ie the same dates for both MSFT and APPL). Is this an issue when I write into the database?
For the time series I am trying to write, there will be certain nan values for some of the tickers. For example, what if volume field value for 4-14 is nan for APPL? Will this still work? There were a few bug reports that seemed to suggest I cant write nan into database. EDIT: I found this DataFrame write "nan", "inf" error in influxdb #422 posted and it seems like the work around is to have separate measurements by field and then drop the na rows before writing to database.
The text was updated successfully, but these errors were encountered:
@tzonghao @aviau @xginn8 @sebito91
I am trying to store some trading data into InfluxDB using the
DataFrameClient
with thewrite_points
method. I have read the documentation online as well as the following two issues, #286 and #510.Here is what my data looks like:
Below is my code:
However this gives this below error message when I call
write_points
A similar message shows up when I try to separate out the "Ticker" tags column out of the data frame I write, so:
Leads to the same error message above. I have three questions I would really love to get help on!:
nan
values for some of the tickers. For example, what if volume field value for 4-14 isnan
for APPL? Will this still work? There were a few bug reports that seemed to suggest I cant writenan
into database. EDIT: I found this DataFrame write "nan", "inf" error in influxdb #422 posted and it seems like the work around is to have separate measurements by field and then drop the na rows before writing to database.The text was updated successfully, but these errors were encountered: