Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
UTI: PoC - Dash application for Trending
[csit.git]
/
resources
/
tools
/
dash
/
app
/
pal
/
trending
/
data.py
diff --git
a/resources/tools/dash/app/pal/trending/data.py
b/resources/tools/dash/app/pal/trending/data.py
index
06466a9
..
298a405
100644
(file)
--- a/
resources/tools/dash/app/pal/trending/data.py
+++ b/
resources/tools/dash/app/pal/trending/data.py
@@
-11,14
+11,19
@@
# See the License for the specific language governing permissions and
# limitations under the License.
# See the License for the specific language governing permissions and
# limitations under the License.
-"""Prepare data for Plotly Dash."""
+"""Prepare data for Plotly Dash.
+"""
import pandas as pd
def create_dataframe():
import pandas as pd
def create_dataframe():
- """Create Pandas DataFrame from local CSV."""
+ """Create Pandas DataFrame from local CSV.
+
+ DEMO
+ """
+
return pd.read_csv(
return pd.read_csv(
- "https://s3-docs.fd.io/csit/master/trending/_static/vpp/"
- "csit-vpp-perf-mrr-daily-master-2n-zn2-trending.csv"
+
u
"https://s3-docs.fd.io/csit/master/trending/_static/vpp/"
+
u
"csit-vpp-perf-mrr-daily-master-2n-zn2-trending.csv"
)
)