learnstat 0.2.1__tar.gz → 0.2.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {learnstat-0.2.1 → learnstat-0.2.2}/PKG-INFO +13 -17
- {learnstat-0.2.1 → learnstat-0.2.2}/README.md +11 -16
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/__init__.py +1 -1
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/cli.py +324 -331
- learnstat-0.2.2/learnstat/guide.py +225 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/setup.py +305 -308
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat.egg-info/PKG-INFO +13 -17
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat.egg-info/SOURCES.txt +1 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat.egg-info/requires.txt +1 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/pyproject.toml +2 -1
- {learnstat-0.2.1 → learnstat-0.2.2}/tests/test_ai_config.py +2 -59
- learnstat-0.2.2/tests/test_guide.py +109 -0
- learnstat-0.2.1/learnstat/guide.py +0 -266
- {learnstat-0.2.1 → learnstat-0.2.2}/LICENSE +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/advisor.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/commands.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/config.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/ipython_ext.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/knowledge.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/llm.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/memory.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/profile.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/providers.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/recovery.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/safety.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/session.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat/suggestions.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat.egg-info/dependency_links.txt +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat.egg-info/entry_points.txt +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/learnstat.egg-info/top_level.txt +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/setup.cfg +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/tests/test_advisor.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/tests/test_commands.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/tests/test_ipython.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/tests/test_profile_memory.py +0 -0
- {learnstat-0.2.1 → learnstat-0.2.2}/tests/test_recovery.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: learnstat
|
|
3
|
-
Version: 0.2.
|
|
3
|
+
Version: 0.2.2
|
|
4
4
|
Summary: An AI-assisted learning companion for statistical analysis with pandas, NumPy, SciPy and Matplotlib.
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Homepage, https://github.com/umorfaruksupto/leanstat
|
|
@@ -11,6 +11,7 @@ Description-Content-Type: text/markdown
|
|
|
11
11
|
License-File: LICENSE
|
|
12
12
|
Requires-Dist: pandas>=2.0
|
|
13
13
|
Requires-Dist: numpy>=1.24
|
|
14
|
+
Requires-Dist: openpyxl>=3.1
|
|
14
15
|
Provides-Extra: viz
|
|
15
16
|
Requires-Dist: matplotlib>=3.7; extra == "viz"
|
|
16
17
|
Provides-Extra: stats
|
|
@@ -54,32 +55,27 @@ pip install -e ".[all]" # pandas, numpy, matplotlib, scipy, ipython
|
|
|
54
55
|
pip install -e . # core only: profiling, rules, recovery
|
|
55
56
|
```
|
|
56
57
|
|
|
57
|
-
### Quick start
|
|
58
|
+
### Quick start
|
|
58
59
|
|
|
59
60
|
```bash
|
|
60
61
|
pip install learnstat
|
|
61
62
|
learnstat
|
|
62
63
|
```
|
|
63
64
|
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
2. **Choose your data**: press Enter and a normal file window opens (CSV or Excel), or drag the file into the terminal.
|
|
68
|
-
3. **Pick what to do from a menu** by typing a number:
|
|
65
|
+
1. Choose your AI company, paste the key, pick a model. learnstat tests it and says OK or what is wrong (optional; skip it and everything works offline).
|
|
66
|
+
2. Press Enter to pick your CSV or Excel file in a normal window.
|
|
67
|
+
3. You are at a Python prompt with `df`, `pd` (pandas) and `np` (NumPy) ready. Write ordinary pandas / NumPy code:
|
|
69
68
|
|
|
70
69
|
```
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
3) Get suggestions for a Python script
|
|
74
|
-
4) Run a Python script with automatic help
|
|
75
|
-
5) Write Python code here (my data is ready as "df")
|
|
76
|
-
6) Learn a statistics topic
|
|
77
|
-
7) Load a different data file
|
|
78
|
-
8) Change the AI (company, key, model)
|
|
79
|
-
9) Help
|
|
70
|
+
>>> df.groupby("country")["income"].mean()
|
|
71
|
+
>>> np.log(df["income"]).describe()
|
|
80
72
|
```
|
|
81
73
|
|
|
82
|
-
|
|
74
|
+
learnstat suggests better statistics and charts as you go, and explains and fixes simple mistakes. Type `/help` for the shortcuts, or `menu` for a one-line menu:
|
|
75
|
+
|
|
76
|
+
```
|
|
77
|
+
1 summary | 2 ask AI | 3 check script | 4 run script | 5 code | 6 learn | 7 load data | 8 AI | ? help | q quit
|
|
78
|
+
```
|
|
83
79
|
|
|
84
80
|
### Add an AI (optional)
|
|
85
81
|
|
|
@@ -24,32 +24,27 @@ pip install -e ".[all]" # pandas, numpy, matplotlib, scipy, ipython
|
|
|
24
24
|
pip install -e . # core only: profiling, rules, recovery
|
|
25
25
|
```
|
|
26
26
|
|
|
27
|
-
### Quick start
|
|
27
|
+
### Quick start
|
|
28
28
|
|
|
29
29
|
```bash
|
|
30
30
|
pip install learnstat
|
|
31
31
|
learnstat
|
|
32
32
|
```
|
|
33
33
|
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
2. **Choose your data**: press Enter and a normal file window opens (CSV or Excel), or drag the file into the terminal.
|
|
38
|
-
3. **Pick what to do from a menu** by typing a number:
|
|
34
|
+
1. Choose your AI company, paste the key, pick a model. learnstat tests it and says OK or what is wrong (optional; skip it and everything works offline).
|
|
35
|
+
2. Press Enter to pick your CSV or Excel file in a normal window.
|
|
36
|
+
3. You are at a Python prompt with `df`, `pd` (pandas) and `np` (NumPy) ready. Write ordinary pandas / NumPy code:
|
|
39
37
|
|
|
40
38
|
```
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
3) Get suggestions for a Python script
|
|
44
|
-
4) Run a Python script with automatic help
|
|
45
|
-
5) Write Python code here (my data is ready as "df")
|
|
46
|
-
6) Learn a statistics topic
|
|
47
|
-
7) Load a different data file
|
|
48
|
-
8) Change the AI (company, key, model)
|
|
49
|
-
9) Help
|
|
39
|
+
>>> df.groupby("country")["income"].mean()
|
|
40
|
+
>>> np.log(df["income"]).describe()
|
|
50
41
|
```
|
|
51
42
|
|
|
52
|
-
|
|
43
|
+
learnstat suggests better statistics and charts as you go, and explains and fixes simple mistakes. Type `/help` for the shortcuts, or `menu` for a one-line menu:
|
|
44
|
+
|
|
45
|
+
```
|
|
46
|
+
1 summary | 2 ask AI | 3 check script | 4 run script | 5 code | 6 learn | 7 load data | 8 AI | ? help | q quit
|
|
47
|
+
```
|
|
53
48
|
|
|
54
49
|
### Add an AI (optional)
|
|
55
50
|
|