Added Talkspace templates, made some changes to Skuid's script and started the Blacklane script
This commit is contained in:
@ -2,6 +2,39 @@ from collections import Counter
|
||||
import pandas as pd
|
||||
|
||||
basecsv = "/Users/normrasmussen/Documents/Northpass/Scripts/Skuid_LPs/skuid_05lp.csv"
|
||||
lpcsv = "/Users/normrasmussen/Documents/Northpass/Scripts/Skuid_LPs/skuidlps.csv"
|
||||
|
||||
'''
|
||||
Example multivalue dictionary
|
||||
|
||||
dict = {key1: [value1, value2, value3, value4],
|
||||
key2: [value5, value6, value 7],
|
||||
}
|
||||
|
||||
So this could be used for each learning path. In other words:
|
||||
|
||||
learning_paths = {'01:Skuid Ethos' : ["Congratulations", "Create", "Skuid Resources"]} etc etc
|
||||
|
||||
Ideally, we will add Alexa's "levels" in this dictionary as well. Could we do:
|
||||
|
||||
learning_paths = {'Level_1': [{'01:Skuid Ethos' : ["Congratulations", "Create", "Skuid Resources"]},
|
||||
{'02:Composer' : ["Overview", "Get Started with Composer", "Manage Pages"}]
|
||||
{'03:Design System Studio' : ["Get Started with Design Systems", etc etc]},
|
||||
'Level_2': [{'10 - Data' : ["Tips to Optimize", "Smarter Conditions"]},
|
||||
{'11-Components': ["Battle", "Engage"]},
|
||||
]
|
||||
}
|
||||
|
||||
How to create this by automation?
|
||||
'''
|
||||
|
||||
def lpLevels(lpcsv):
|
||||
levels = pd.read_csv(
|
||||
lpcsv,
|
||||
index_col=False,
|
||||
)
|
||||
print(levels.Level.unique()) # Print only unique values from the Level column
|
||||
|
||||
|
||||
def mainFunc(basecsv):
|
||||
readData = pd.read_csv(
|
||||
@ -27,5 +60,6 @@ def mainFunc(basecsv):
|
||||
# finalNames.append(name)
|
||||
|
||||
if __name__ == "__main__":
|
||||
mainFunc(basecsv)
|
||||
#mainFunc(basecsv)
|
||||
lpLevels(lpcsv)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user