init: Alfred preferences
This commit is contained in:
BIN
Alfred.alfredpreferences/snippets/pandas/icon.png
Normal file
BIN
Alfred.alfredpreferences/snippets/pandas/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.2 KiB |
10
Alfred.alfredpreferences/snippets/pandas/info.plist
Normal file
10
Alfred.alfredpreferences/snippets/pandas/info.plist
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
|
||||
<plist version="1.0">
|
||||
<dict>
|
||||
<key>snippetkeywordprefix</key>
|
||||
<string></string>
|
||||
<key>snippetkeywordsuffix</key>
|
||||
<string></string>
|
||||
</dict>
|
||||
</plist>
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "lambda x:",
|
||||
"uid" : "2C120CAA-E5F4-49E3-8B4D-6396888605B4",
|
||||
"name" : "定義匿名函式",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "df = pd.DataFrame({\n 'first column': [1, 2, 3, 4],\n 'second column': [10, 20, 30, 40]\n})\n",
|
||||
"uid" : "8E7645D3-F7C1-4654-B5E5-659C3B9A3474",
|
||||
"name" : "建立 DataFrame",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "dataframe = pd.DataFrame(\n np.random.randn(10, 20),\n columns=('col %d' % i for i in range(20)))\n",
|
||||
"uid" : "CC0FA989-D500-4F0D-A8AD-5F1A2AF376FB",
|
||||
"name" : "建立隨機 DataFrame",
|
||||
"keyword" : "dataframe"
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "data = pd.read_csv('data.csv')",
|
||||
"uid" : "F8E4D9AD-3C67-41AD-8C52-B210C1222BCB",
|
||||
"name" : "讀取 CSV 檔案",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"alfredsnippet" : {
|
||||
"snippet" : "read_excel",
|
||||
"uid" : "8F53D636-1305-49C0-9261-E3182D2EF238",
|
||||
"name" : "讀取 Excel 檔案",
|
||||
"keyword" : ""
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user