The official Askdata Python SDK
Project description
Askdata Examples
This repository contains examples of Askdata usage in serving different types of data.
Installation
pip install askdata
or
pip install -r requirements.txt
Authentication
Lets handle our authenticaton
from askdata import Askdata
askdata = Askdata()
Once your insert your account and password you're all set
Query your data
# Load the list of the agents connected to your account as a pandas dataframe
get_agents_df = askdata.agents_dataframe()
#get one agent
agent = askdata.agent("sales_demo")
# Simple query
df = agent.ask('give me sales by countries')
df
Create a new Workspace (agent) and Create a dataset Starting from a Dataframe
# Load the list of the agents connected to your account as a pandas dataframe
agent.create_dataset(frame=df, dataset_name='Web Sources')
Askdata Demo
Check the following tutorial, to learn more about Askdata end-to-end.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
askdata-0.4.3994.tar.gz
(35.7 kB
view hashes)
Built Distribution
askdata-0.4.3994-py3-none-any.whl
(36.8 kB
view hashes)
Close
Hashes for askdata-0.4.3994-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6305a690ebe9e9db6a6d36aca3e3b71b82b267a2b69793c97c2873421b12a3f4 |
|
MD5 | 5c04ca3972bbb103097387082e0af1fe |
|
BLAKE2b-256 | 02964b80198ab7e7d74bd5833cd585809b08e1f1e96d6262beba04a2bb0b6726 |