@@ -23,7 +23,7 @@ The easiest way to install Python Data Science Snippets is through [Package Cont
23
23
24
24
### Imports
25
25
26
- Import snippets start with ` i ` followed by the package's import alias.
26
+ Import snippets start with ` i ` followed by the package/module 's import alias.
27
27
28
28
| Trigger | Description |
29
29
| ------------| -------------------------------------------|
@@ -63,6 +63,7 @@ Import snippets start with `i` followed by the package's import alias.
63
63
| ` head ` | ` df.head ` |
64
64
| ` read_csv ` | ` pd.read_csv ` |
65
65
| ` rename ` | ` df.rename ` |
66
+ | ` reset_index ` | ` df.reset_index ` |
66
67
| ` sample ` | ` df.sample ` |
67
68
| ` ser ` | ` pd.Series ` |
68
69
| ` tail ` | ` df.tail ` |
@@ -71,18 +72,34 @@ Import snippets start with `i` followed by the package's import alias.
71
72
72
73
### Matplotlib
73
74
74
- | Trigger | Description |
75
- | ------------| ----------------|
76
- | ` bar ` | ` plt.bar ` |
77
- | ` legend ` | ` plt.legend ` |
78
- | ` pie ` | ` plt.pie ` |
79
- | ` plot ` | ` plt.plot ` |
80
- | ` scatter ` | ` plt.scatter ` |
81
- | ` show ` | ` plt.show ` |
82
- | ` subplots ` | ` plt.subplots ` |
83
- | ` title ` | ` plt.title ` |
84
- | ` xlabel ` | ` plt.xlabel ` |
85
- | ` ylabel ` | ` plt.ylabel ` |
75
+ | Trigger | Description |
76
+ | ----------------| --------------------|
77
+ | ` annotate ` | ` plt.annotate ` |
78
+ | ` bar_label ` | ` plt.bar_label ` |
79
+ | ` bar ` | ` plt.bar ` |
80
+ | ` barh ` | ` plt.barh ` |
81
+ | ` fill_between ` | ` plt.fill_between ` |
82
+ | ` hist ` | ` plt.hist ` |
83
+ | ` imread ` | ` plt.imread ` |
84
+ | ` imsave ` | ` plt.imsave ` |
85
+ | ` imshow ` | ` plt.imshow ` |
86
+ | ` legend ` | ` plt.legend ` |
87
+ | ` pie ` | ` plt.pie ` |
88
+ | ` plot ` | ` plt.plot ` |
89
+ | ` savefig ` | ` plt.savefig ` |
90
+ | ` scatter ` | ` plt.scatter ` |
91
+ | ` show ` | ` plt.show ` |
92
+ | ` stackplot ` | ` plt.stackplot ` |
93
+ | ` subplot ` | ` plt.subplot ` |
94
+ | ` subplots ` | ` plt.subplots ` |
95
+ | ` suptitle ` | ` plt.suptitle ` |
96
+ | ` text ` | ` plt.text ` |
97
+ | ` tight_layout ` | ` plt.tight_layout ` |
98
+ | ` title ` | ` plt.title ` |
99
+ | ` xlabel ` | ` plt.xlabel ` |
100
+ | ` xlim ` | ` plt.xlim ` |
101
+ | ` ylabel ` | ` plt.ylabel ` |
102
+ | ` ylim ` | ` plt.ylim ` |
86
103
87
104
### Scikit-learn
88
105
0 commit comments