Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
K
kl_task5
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
arun.uday
kl_task5
Commits
67d7e499
Commit
67d7e499
authored
Feb 07, 2023
by
arun.uday
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
all2
parent
fccd2734
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
16 deletions
+10
-16
.idea/sonarlint/issuestore/index.pb
+3
-9
scripts/core/handlers/change_time_data.py
+1
-1
scripts/json_output/data_time_json.json
+6
-6
No files found.
.idea/sonarlint/issuestore/index.pb
View file @
67d7e499
No preview for this file type
scripts/core/handlers/change_time_data.py
View file @
67d7e499
...
@@ -11,7 +11,7 @@ def time_change(file):
...
@@ -11,7 +11,7 @@ def time_change(file):
# for storing the pivoted frame to dictionary
# for storing the pivoted frame to dictionary
dict_cols
=
[]
dict_cols
=
[]
for
i
in
range
(
0
,
len
(
file_copy
.
columns
)):
for
i
in
range
(
0
,
len
(
file_copy
.
columns
)):
key_dict
=
file_copy
.
columns
[
i
]
key_dict
=
"label"
+
str
(
i
)
val_dict
=
file_copy
.
columns
[
i
]
.
lower
()
val_dict
=
file_copy
.
columns
[
i
]
.
lower
()
dict_cols
.
append
({
key_dict
:
val_dict
})
dict_cols
.
append
({
key_dict
:
val_dict
})
...
...
scripts/json_output/data_time_json.json
View file @
67d7e499
{
{
"header"
:
[
"header"
:
[
{
{
"
Timestamp
"
:
"timestamp"
"
label0
"
:
"timestamp"
},
},
{
{
"
kWh
"
:
"kwh"
"
label1
"
:
"kwh"
},
},
{
{
"
kVAh
"
:
"kvah"
"
label2
"
:
"kvah"
},
},
{
{
"
kW
"
:
"kw"
"
label3
"
:
"kw"
},
},
{
{
"
kVA
"
:
"kva"
"
label4
"
:
"kva"
},
},
{
{
"
current
"
:
"current"
"
label5
"
:
"current"
}
}
],
],
"body"
:
[
"body"
:
[
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment