Nov-14-2023, 10:29 AM
Hello,
I want to get from csv file a column contain string json, so i use theses command:
The print display string with [' and '] at the beginning and end of value of cell csv file.
I want to get a json object which i can get a value from a different key.
How can i do that please ?
Thank you.
I want to get from csv file a column contain string json, so i use theses command:
fichier_complet=pd.read_csv("outputfile.csv", sep = ',',dtype='unicode',usecols = ['body'],keep_default_na=False) print(fichier_complet.values[0]) json_string = json.dumps(fichier_complet.values[0])
The print display string with [' and '] at the beginning and end of value of cell csv file.
I want to get a json object which i can get a value from a different key.
How can i do that please ?
Thank you.