Update VPP_STABLE_VER files
[csit.git] / resources / tools / dash / app / pal / trending / data.py
index 06466a9..a4f183b 100644 (file)
 # 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():
-    """Create Pandas DataFrame from local CSV."""
+def read_data():
+    """Create Pandas DataFrame from local CSV.
+
+    Only for DEMO
+    """
+
     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-weekly-master-2n-aws-trending.csv"
     )