Ben Greear
8c68811228
csv-convert: Tweak output to meet customer's goals.
...
Remove some columns from the bottom section, add 'Mean' to column in top
section.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:46:16 +05:30
Ben Greear
309e2411d2
csv-parser: Support joining two csv files.
...
So that we can get beacon RSSI and phy-rate info.
2022-07-12 15:46:16 +05:30
Ben Greear
8d8313e9d0
csv-convert: Add additional phy-rate columns requested by customer.
...
To get the new values, you need to parse the text-csv-0.csv file
since it holds the phy-rate info.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2022-07-12 15:46:16 +05:30
Matthew Stidham
635592e9d5
csv_convert: Fix whitespace
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-11-24 13:26:47 -08:00
Matthew Stidham
e6cf6b9337
1. Create pandas_extensions.py
...
2. Remove unused imports
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-09-21 11:11:04 -07:00
Matthew Stidham
36400e003d
Making it so that lanforge-scripts can work if the repository isn't named exactly the same way
...
Signed-off-by: Matthew Stidham <stidmatt@gmail.com >
2021-09-17 15:29:15 -07:00
erinnerim
1d7578251c
Updates to import statements:
...
- Import importlib, os, and sys to each python script.
- Append "lanforge-scripts" root directory to the system path, allowing each script to be called from an antecedent directory. e.g.
if 'lanforge-scripts' not in sys.path:
sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../../../")))
- All statements of the form 'from <module> import <class>' replace with:
<module> = importlib.import_module("lanforge-scripts.<directory>.<module>")
<class> = <module>.<class>
2021-09-15 16:17:16 -07:00
Ben Greear
894e64e3d3
csv-convert: Fix syntax issues.
...
Tested this against a newly created .csv, seems to work.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-05-11 06:23:33 -07:00
Ben Greear
44857107a0
csv-convert: Un-tested changes to create specific customer format.
...
Original interpretation of their request was incorrect, so this is
another attempt. It will take input of the 'brief' csv output
for dataplane, already mostly converted to the customer's data
format, so less conversion is needed.
Un-tested as of now...
2021-05-10 11:04:04 -07:00
Ben Greear
cb11480fad
csv-convert: Tweak output column order.
...
To better fit into customer's visualization tool.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-09 06:35:34 -07:00
Ben Greear
0b372f9d3e
csv-convert: Update comments.
...
And remove import of pandas, which the script no longer uses.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-08 10:28:54 -07:00
Ben Greear
e10c5630a6
csv-convert: Open-code the csv manipulation.
...
This makes it easier to deal with slightly different input formats,
and allows us to properly convert Mbps, Gbps, Kbps, bps to Mbps
units.
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-07 10:56:19 -07:00
Ben Greear
e776758484
csv-convert: Fix typo.
...
Signed-off-by: Ben Greear <greearb@candelatech.com >
2021-04-06 08:31:11 -07:00
Chuck SmileyRekiere
fa213d807a
csv_convert.py : defaulted to outfile
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-04-06 06:19:36 -06:00
Chuck SmileyRekiere
c4527011bf
csv_convert.py : print the infile, outfile(xlsx), outfile(csv)
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-04-06 06:08:10 -06:00
Chuck SmileyRekiere
e65a8ca606
csv_convert.py commented out debug prints
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-04-06 06:00:41 -06:00
Chuck SmileyRekiere
456590e360
intitial commit csv_convert.py
...
Signed-off-by: Chuck SmileyRekiere <chuck.smileyrekiere@candelatech.com >
2021-04-06 05:59:45 -06:00