• How to select an area quickly in Excel


    1、 Questions How to select an area quickly in Excel 2、 Solution As shown in the figure: to select the a1-d12 area, you can choose to use the mouse. It is troublesome when there is a large amount of singular data. You can use the following method.

  • Nltk simple introduction and data cleaning


    Nltk is an English word segmentation tool with a long history #Import word segmentation module from nltk.tokenize import word_tokenize from nltk.text import Text input=”’ There were a sensitivity and a beauty to her that have nothing to do with looks. She was one to be listened to, whose words were so easy to take to […]

  • Mapping between Gorm and database (singular and complex) table structure


    Gorm connects to MySQL: import ( _ “github.com/go-sql-driver/mysql” “github.com/jinzhu/gorm” ) type User struct { Id int `json:”id”` Name string `json:”name”` Age int `json:”age”` } func GormTest() { dsn := username + “:” + password + “@tcp(” + addr + “)/” + datebase + “?charset=utf8&parseTime=true&loc=Local” var err error DB, err := gorm.Open(“mysql”, dsn) if err != […]