mport pandas as pd import os directory = '.' for filename in os.listdir(directory): if filename.endswith(".csv") and not filename.startswith('changed_'): input_file = filename output_file = "changed_" + filename if not os.path.exists(output_file): print(input_file) print(output_file) df = pd.read_csv(input_file, usecols=range(6)) dfnew = df.drop('Comment', axis=1) export_csv = dfnew.to_csv (output_file, index = None, header=True)
Posts mit dem Label csv werden angezeigt. Alle Posts anzeigen
Posts mit dem Label csv werden angezeigt. Alle Posts anzeigen
Mit Python eine CSV Datei modifizieren (löschen)
Abonnieren
Posts (Atom)
Datei in einer windows.wim image ändern
Um Dateien in einer Datei.wim zu ändern, und zwar nicht im 1. Index sondern 2. öffnet man Powershell (ich habs jetzt im admin Modus gestart...
-
http://www.catalog.update.microsoft.com/Search.aspx?q=KB4482887 https://knowledge.ni.com/KnowledgeArticleDetails?id=kA00Z0000019YOnSAM...
-
from https://vim.rotrr.com: Global :h[elp] keyword - open help for keyword ...
-
What is systemd? systemd is a suite of basic building blocks for a Linux system. It provides a system and service manager that runs as PID ...