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.4070.tar.gz
(38.1 kB
view hashes)
Built Distribution
askdata-0.4.4070-py3-none-any.whl
(38.5 kB
view hashes)
Close
Hashes for askdata-0.4.4070-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8af04cdfdb1e031e3c6ee7e4685e7ccfb9fd51671767da6fc3e5b6ea49eabe62 |
|
MD5 | 46a51a78bdd5de38bf531868d421c5fd |
|
BLAKE2b-256 | c55a309c847d8bb3ec9e08c3f71e67c335bc260d438998961b1c552286d6539a |