Skip to content

Instantly share code, notes, and snippets.

@jochen-eds
Last active May 15, 2021 14:58
Show Gist options
  • Save jochen-eds/d016d9c79177a83ac9b24d07db61e802 to your computer and use it in GitHub Desktop.
Save jochen-eds/d016d9c79177a83ac9b24d07db61e802 to your computer and use it in GitHub Desktop.
def run_preset_e_Vergabe():
umwelt = e_Vergabe("Umwelt")
natur = e_Vergabe("Natur")
eVergabe = pd.concat([umwelt, natur], ignore_index=True)
eVergabe.drop_duplicates(inplace=True)
eVergabe = eVergabe[eVergabe['Bezeichnungen'].str.
contains("daten|statisti|data|machine learning|maschinelles lernen|\
maschinellem lernen|künstliche intelligenz|künstlicher intelligenz|\
auswertung|visualisierung|deep learning|dashboard", na=False,
flags = re.IGNORECASE)]
today = date.today().strftime("%Y-%m-%d")
if not eVergabe.empty:
eVergabe.to_csv("/Users/Jochen/Desktop/Analysen_Skripts/Webscraper/Projekte/"+
today+"-e-Vergabe.csv", index=False)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment