User 5313 | 6/21/2016, 10:01:40 PM
I have a question about analyzing data from a database.
I know that I can easily create SFrames from a csv file etc.
However, the data I want to analyze sits in a database, not in a file.
What methods are people using when the data they want to analyze with graphlab is in a database? What is the usual/graphlab recommended method?
I have had two strategies for dealing with this so far:
1) Use pandas to create a csv file from the data in the database and create an SFrame from that csv. (not good) 2) Writing my own function that takes data from the database (mongodb) using a python library (pymongo) and creating an SFrame myself. This works but I thought there probably is an easier way of doing this?
I will appreciate any help, and opinions etc. Thanks a lot!