@@ -23,7 +23,7 @@ The easiest way to install Python Data Science Snippets is through [Package Cont
2323
2424### Imports
2525
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.
2727
2828| Trigger | Description |
2929| ------------| -------------------------------------------|
@@ -63,6 +63,7 @@ Import snippets start with `i` followed by the package's import alias.
6363| ` head ` | ` df.head ` |
6464| ` read_csv ` | ` pd.read_csv ` |
6565| ` rename ` | ` df.rename ` |
66+ | ` reset_index ` | ` df.reset_index ` |
6667| ` sample ` | ` df.sample ` |
6768| ` ser ` | ` pd.Series ` |
6869| ` tail ` | ` df.tail ` |
@@ -71,18 +72,34 @@ Import snippets start with `i` followed by the package's import alias.
7172
7273### Matplotlib
7374
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 ` |
86103
87104### Scikit-learn
88105
0 commit comments