Skip to content

Commit 11a9b34

Browse files
committed
WIP
1 parent a0238b7 commit 11a9b34

File tree

5 files changed

+31
-11
lines changed

5 files changed

+31
-11
lines changed

doc/api.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ API
33

44
.. currentmodule:: skore
55

6+
*The API is currently work in progress and will be released soon, thank you for
7+
your patience!*
8+
69
This page lists all the public functions and classes of the ``skore``
710
package.
811

doc/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Install
88
First of all, we recommend using a `virtual environment (venv) <https://docs.python.org/3/tutorial/venv.html>`_.
99
You need ``python>=3.9``.
1010

11-
Then, you can install ``skore`` by using `pip``:
11+
Then, you can install ``skore`` by using ``pip``:
1212

1313
.. code:: console
1414

doc/sg_execution_times.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
Computation times
88
=================
9-
**00:00.637** total execution time for 2 files **from all galleries**:
9+
**00:00.002** total execution time for 2 files **from all galleries**:
1010

1111
.. container::
1212

@@ -33,8 +33,8 @@ Computation times
3333
- Time
3434
- Mem (MB)
3535
* - :ref:`sphx_glr_auto_examples_plot_2_basic_usage.py` (``../examples/plot_2_basic_usage.py``)
36-
- 00:00.610
36+
- 00:00.002
3737
- 0.0
3838
* - :ref:`sphx_glr_auto_examples_plot_1_getting_started.py` (``../examples/plot_1_getting_started.py``)
39-
- 00:00.027
39+
- 00:00.000
4040
- 0.0

examples/plot_1_getting_started.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
"""
2-
==========================
3-
Getting started with skore
4-
==========================
2+
==============================
3+
Getting started with ``skore``
4+
==============================
55
66
`This is work in progress.`
77

examples/plot_2_basic_usage.py

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,32 @@
11
"""
2-
====================
3-
Basic usage of skore
4-
====================
2+
========================
3+
Basic usage of ``skore``
4+
========================
55
6-
This is work in progress.
6+
*This is work in progress.*
7+
8+
This example builds on top of the :ref:`getting_started` guide.
79
"""
810

11+
# %%
12+
from skore import load
13+
14+
project = load("project.skore")
15+
16+
# %%
17+
project.put("my_int", 3)
18+
919
# %%
1020
import sklearn
1121
import matplotlib.pyplot as plt
1222

23+
# %%
24+
import numpy as np
25+
import pandas as pd
26+
27+
my_df = pd.DataFrame(np.random.randn(3, 3))
28+
project.put("my_df", my_df)
29+
1330
# %%
1431
sklearn.__version__
1532
plt.plot([0, 1, 2, 3], [0, 1, 2, 3])

0 commit comments

Comments
 (0)