python – dataframe is not getting converted into CSV and parquet

I made a local dataframe and I am trying to covert the dataframe into CSV & Parquet. its throwing error, saying that – for df to csv Py4JJavaError Traceback (most recent call last) Input In [18], in <cell line: 2>() 1 #converting the datafram into csv —-> 2 df.write.csv(‘test.csv’,header=True) 3 spark.read.csv(‘test.csv’,header=True).show() File ~anaconda3libsite-packagespysparksqlreadwriter.py:955, in DataFrameWriter.csv(self, … Read more

C# get value from class earlier converted class from json schema

i heave json looks like this : { “status”: “SUCCESS”, “storage_id”: “bl_1”, “products”: { “1055199655”: { “product_id”: 1055199655, “ean”: “0888411571650”, “sku”: “924593-001”, “name”: “Nike Metcon 4 Black 924593-001 Damskie “, “quantity”: 3, “price_netto”: 269, “price_brutto”: 269, “price_wholesale_netto”: 0, “tax_rate”: 0, “weight”: 0, “man_name”: “Nike”, “man_image”: null, “category_id”: 1067613, “images”: [ “https://upload.cdn.baselinker.com/products/21606/1055199655.jpg”, “https://upload.cdn.baselinker.com/products/21606/1055199655_1.jpg”, “https://upload.cdn.baselinker.com/products/21606/1055199655_2.jpg”, “https://upload.cdn.baselinker.com/products/21606/1055199655_3.jpg”, “https://upload.cdn.baselinker.com/products/21606/1055199655_4.jpg”, … Read more