Skip to content

Commit 3fac915

Browse files
author
Martin
committed
Minor updates to README and utils.py
1 parent c94374f commit 3fac915

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,9 @@ We provide two options for integrating your CANedge data with Grafana dashboards
1010

1111
The [CANedge Grafana Backend](https://github.com/CSS-Electronics/canedge-grafana-backend) app only processes data 'when needed' by an end user - and requires no database. It is ideal when you have large amounts of data - as you only process the data you need to visualize.
1212

13-
In contrast, the [CANedge InfluxDB Writer](https://github.com/CSS-Electronics/canedge-influxdb-writer) integration requires that you process relevant data in advance (e.g. periodically or on-file-upload) and write the decoded data to a database (e.g. InfluxDB). It is ideal if the dashboard loading speed is critical - but with the downside that large amounts of data is processed & stored (at a cost) without being used.
13+
The [CANedge InfluxDB Writer](https://github.com/CSS-Electronics/canedge-influxdb-writer) processes data in advance (e.g. periodically or on-file-upload) and writes the decoded data to a database. It is ideal if dashboard loading speed is critical - but with the downside that data is processed/stored even if it is not used.
14+
15+
For details incl. 'pros & cons', see our [intro to telematics dashboards](https://www.csselectronics.com/pages/telematics-dashboard-open-source).
1416

1517
----
1618

canedge-influxdb-writer/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def extract_phys(self, df_raw):
150150
# remove duplicates in case multiple DBC files contain identical signals
151151
df_phys["datetime"] = df_phys.index
152152
df_phys = df_phys.drop_duplicates(keep="first")
153-
df_phys = df_phys.drop("datetime", 1)
153+
df_phys = df_phys.drop(labels="datetime", axis=1)
154154

155155
# optionally filter and rebaseline the data
156156
df_phys = self.filter_signals(df_phys)

0 commit comments

Comments
 (0)