conda cassandra 1

conda cassandra

# Python driver for cassandra. Installing using Anaconda

conda install -c conda-forge cassandra-driver

Here is what the above code is Doing:
1. Connecting to the cluster
2. Creating a session
3. Creating a keyspace
4. Creating a table
5. Inserting data into the table
6. Querying the table
7. Closing the session and cluster connection

Similar Posts