examples icon indicating copy to clipboard operation
examples copied to clipboard

Update crypto_data_extraction.py

Open 0xJchen opened this issue 2 years ago • 1 comments

Avoid empty rows when writing to csv, otherwise would lead to errors when copying csv.

Without the change, there will be an empty line between each inserted line when writing to csv as indicated here.

This would lead to ERROR: missing data for column "opening_price" when executing \COPY btc_prices FROM btc_prices.csv CSV;

0xJchen avatar Feb 15 '23 06:02 0xJchen

CLA assistant check
All committers have signed the CLA.

CLAassistant avatar Feb 15 '23 06:02 CLAassistant