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

pandas please #99

Closed
Lodimup opened this issue May 1, 2022 · 3 comments
Closed

pandas please #99

Lodimup opened this issue May 1, 2022 · 3 comments

Comments

@Lodimup
Copy link

Lodimup commented May 1, 2022

It would be super great if pandas is included!

@verhulstm
Copy link
Contributor

it should be included already

use this tag above your pyscript tag

- pandas

@verhulstm
Copy link
Contributor

verhulstm commented May 1, 2022

<html>
  <head>
    <title>pandas</title>
    <meta charset="utf-8">

    <link rel="stylesheet" href="../build/pyscript.css" />
    <script defer src="../build/pyscript.js"></script>
    <py-env>
      - pandas
    </py-env>
    </head>
    <body>
      <py-script>
import pandas as pd
dates = pd.date_range("20130101", periods=6)
dates
      </py-script>
    </body>
</html>

@Lodimup
Copy link
Author

Lodimup commented May 1, 2022

Thanks! Holycrap, even input() works. This is game changer.

@Lodimup Lodimup closed this as completed May 1, 2022
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

2 participants