I use this code to export data from cassandra to csv:
import pandas as pd from cassandra import ConsistencyLevel from cassandra.cluster import Cluster from ca