原创 [Leetcode]Single Number

Given an array of integers, every element appears twice except for one. Find that single one. Note: Your algorithm sho

原创 sklearn.model_selection.train_test_split

數據集劃分:sklearn.model_selection.train_test_split(*arrays, **options)主要參數說明:*arrays:可以是列表、numpy數組、scipy稀疏矩陣或pandas的數據框test

原创 《python數據分析與挖掘實戰》筆記-3.1代碼問題

問題 今天看到《python數據分析與挖掘實戰》這本書的第三章的第一份代碼,照着書上的代碼敲了一遍,發現在異常值處理的部分會報錯。 x = p['fliers'][0].get_xdata() y = p['fliers'][0].g

原创 oracle 11g如何完全卸載

1.  停用oracle服務:進入計算機管理,在服務中,找到oracle開頭的所有服務,右擊選擇停止 步驟閱讀 步驟閱讀 2. 在開始菜單中,找到Universal Installer,運行

原创 [Leetcode]Median of Two Sorted Arrays

There are two sorted arrays nums1 and nums2 of size m and n respectively. Find the median of the two sorted arrays. The

原创 轉載:《七週成爲數據分析師》

百日計劃第一週總結1. 計劃1.徹底結束之前預定暑假完成的天善學院課程《七週數據分析師》2.總結《七週數據分析師》。2. 完成情況1.完成《七週成爲數據分析師》任務2.周總結與《七週數據分析師》一起完成。《七週數據分析師》總結第一週:數據

原创 Python-NumPy

 網上查到的個人認爲最簡潔的大綱,如果你有Python基礎,又有些數學基礎,看這個就夠了。看不懂的地方敲一遍,這篇文章能告訴我們numpy是什麼、它能做什麼、怎麼做。 NumPy   NumPy是高性能科學計算和數據分析的基礎包。部分功

原创 Python中numpy庫unique函數解析

a = np.unique(A)對於一維數組或者列表,unique函數去除其中重複的元素,並按元素由大到小返回一個新的無元素重複的元組或者列表[python] view plain copyimport numpy as np  A = 

原创 MovieLens數據集

MovieLens數據集是一個關於電影評分的數據集,裏面包含了從IMDB, The Movie DataBase上面得到的用戶對電影的評分信息,詳細請看下面的介紹。介紹:links.csv:文件裏面的內容是幫助你如何通過網站id在對應網站

原创 [Leetcode]Add Two Numbers鏈表數相加

You are given two non-empty linked lists representing two non-negative integers. The digits are stored in reverse order

原创 Oracle11g數據庫win8.1系統安裝配置圖文教程

 1. Oracle11g安裝 http://pan.baidu.com/s/1gfa3e63;這裏是我在Oracle官網下載好了Windows系統64位的安裝包,有2個zip文件。不想去官網找下載地址的童鞋可以直接用這個百度雲盤的

原创 【Leetcode】ZigZag Conversion

題目描述 題目原文: The string “PAYPALISHIRING” is written in a zigzag pattern on a given number of rows like this: (you may

原创 [Leetcode]Roman to Integer

Given a roman numeral, convert it to an integer. Input is guaranteed to be within the range from 1 to 3999. 將一個羅馬數值字符串