examples
examples copied to clipboard
Update crypto_data_extraction.py
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;