Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

examples in whylogs README generate error messages? #1509

Open
1 task done
cswarth opened this issue Apr 28, 2024 · 0 comments
Open
1 task done

examples in whylogs README generate error messages? #1509

cswarth opened this issue Apr 28, 2024 · 0 comments

Comments

@cswarth
Copy link
Contributor

cswarth commented Apr 28, 2024

Description

All of the examples provided in the whylogs repo README generate what look like error messages.

⚠️ No session found. Call whylogs.init() to initialize a session and authenticate. See https://docs.whylabs.ai/docs/whylabs-whylogs-init for more information.

E.G. The very first code example,

import whylogs as why
import pandas as pd

#dataframe
df = pd.read_csv("org-0-model-2273.csv")
results = why.log(df)

⚠️ No session found. Call whylogs.init() to initialize a session and authenticate. See https://docs.whylabs.ai/docs/whylabs-whylogs-init for more information.

  • System info
    • Operating system and version:
    • Browser and version:
  • Steps to reproduce:
    • Open jupyter notebook in IntelliJ
    • Enter whylogs example program in cell
    • Evaluate Cell.

Suggestions

I do not yet understand why the init() procedure was introduced sometime after whylogs v1.2.5
Not clear what new capabilities were made available or enhanced by init().

Related

Relates to organization/repo#number

@cswarth cswarth changed the title examples in whylogs README do not work examples in whylogs README generate error messages? Apr 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant