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.3975.tar.gz
(34.2 kB
view hashes)
Built Distribution
askdata-0.4.3975-py3-none-any.whl
(35.3 kB
view hashes)
Close
Hashes for askdata-0.4.3975-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46b68a3163daa63d79f62c4f08c6d64219ad26928cc39e34b9afe19fe663397f |
|
MD5 | 1e0096d549b8b668f220485df9b2f19e |
|
BLAKE2b-256 | 5edc85589b87bf75ff26efea3ffa1db4e6c4c64065214ceb61d43e84b426f4ce |