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
/home/rgottula/dev/venv/lib/python3.10/site-packages/influxdb_client/client/warnings.py:31: MissingPivotFunction: The query doesn't contains the pivot() function.
The result will not be shaped to optimal processing by pandas.DataFrame. Use the pivot() function by:
from(bucket: "telem")|> range(start: 1678963137, stop: 1678963808)|> filter(fn: (r) => r._measurement == "mount_position" and (r._field == "azimuth" or r._field == "altitude"))|> aggregateWindow(every: 1s, fn: first, createEmpty: false) |> pivot(rowKey:["_time"], columnKey: ["_field"], valueColumn: "_value")
You can disable this warning by:
import warnings
from influxdb_client.client.warnings import MissingPivotFunction
warnings.simplefilter("ignore", MissingPivotFunction)
For more info see:
- https://docs.influxdata.com/resources/videos/pivots-in-flux/
- https://docs.influxdata.com/flux/latest/stdlib/universe/pivot/
- https://docs.influxdata.com/flux/latest/stdlib/influxdata/influxdb/schema/fieldsascols/
warnings.warn(message, MissingPivotFunction)
The text was updated successfully, but these errors were encountered:
Got the following warning running
skyplot
:The text was updated successfully, but these errors were encountered: