python data analysis - Numpy
catalogue
Common libraries for data analysis:
1.Numpy: basic knowledge
1.1 Numpy built-in method for creating multidimensional array
1.2 index of multidimensional array
1.2.1 intercepting elements in the list
1.2.2} array index
1.2.3 , from 2D to 3D
1.3 basic operation of multidimensional array
1.3.1 addition, subtraction, multiplic ...
Posted by jumpfroggy on Sun, 13 Feb 2022 10:11:47 +0100
Data preprocessing and data feature selection
1 data preprocessing
Data preprocessing is roughly divided into three steps: data preparation, data conversion and data output.
1.1 formatted data
Scikit learn provides two standard data formatting methods, Fit and Multiple Transform and combined fit and transform. It is recommended to give priority to Fit and Multiple Transform methods.
1. ...
Posted by reaper7861 on Sun, 13 Feb 2022 03:45:48 +0100
Python notes 6-string
Python notes
character string
I String introduction
1. Features
A pair of quoted strings
name1='Jack'
name2="Jerry"
Three pairs of quoted string
name1='''Jack'''
name2="""Jerry"""
sen1='''I am Jack,
nice to meet you!'''
sen2="""I am Jack,
nice to meet you too!"""
Note: string in three quotation marks supports line feed ...
Posted by buddymoore on Sun, 13 Feb 2022 03:04:01 +0100
Python basic P1 variable advanced exercise
Python basic P1 variable advanced exercise
1. Variable helper (input and print)
input function
Read the string from standard input (with line break), and the prompt string will be printed to standard output (without line break) before reading the input
input standard format
input(prompt=None, /) # prompt=None input prompt string
The in ...
Posted by gromer on Sat, 12 Feb 2022 20:36:00 +0100
Loops (while and for loops)
1. Application Scenario: We used to copy classmates'unwritten homework when we were in school. Sometimes bad luck was discovered by the teacher. Finally, he was handed over to him by the teacher who grabbed the copy of homework N.
Copying is about repeating something, and sometimes we have similar problems in our programs.
Loops are needed ...
Posted by DimArchon84 on Sat, 12 Feb 2022 18:48:35 +0100
[personal kivy learning notes]
Environment configuration
Install Virtualenv
Open CMD
Install virtualenv
pip install virtualenv
Switch directory Switch to your work location
Create virtual environment
virtualenv kv-demo-env
KV demo env is the interpreter
Setting up the virtual environment interpreter for the compiler
Install Kivy
(if version replacement is ...
Posted by Slippy on Sat, 12 Feb 2022 10:33:35 +0100
Batch operation of word documents
Reading guide
In the previous chapters, we introduced how to operate excel and ppt in batches. Today, we talk about the batch operation of word documents
application
Python docx allows you to create new documents and make changes to existing documents. In fact, it only allows you to make changes to existing documents; But if you start ...
Posted by hansford on Sat, 12 Feb 2022 09:15:54 +0100
Three solutions to change in Python
Change
The most direct solution to the change problem is the greedy strategy. For example: for coins with face values of 1, 5, 10 and 25, solve the minimum number of coins required to exchange 63 yuan.
The idea of greedy strategy is to constantly use the coins with the largest face value to try. No, in this case, 25 coins are used to try the ...
Posted by dbrimlow on Sat, 12 Feb 2022 08:55:23 +0100
[100 day learning notes of Python stack] Day33Linux utility
Utility program
File and folder operations
Create / delete empty directory - mkdir / rmdir. [root ~]# mkdir abc
[root ~]# mkdir -p xyz/abc
[root ~]# rmdir abc
Create / delete file - touch / rm. [root ~]# touch readme.txt
[root ~]# touch error.txt
[root ~]# rm error.txt
rm: remove regular empty file 'error.txt'? y
[root ~]# rm -rf xyz
T ...
Posted by kabucek on Sat, 12 Feb 2022 05:29:21 +0100
The 10th scheme of propeller RNA structure prediction competition
The 10th scheme of propeller RNA structure prediction competition
Team name: white crane with bright opposite wings and black bear flying Twin Oars Members: Liu Jianjian, Shi Jingwei, Xiang Jianbiao, Yang Jingli score: 3.722 rmsd_avg:0.269 rmsd_std:0.067
Introduction to competition questions
"RNA base unpaired probability" measur ...
Posted by Sven70 on Sat, 12 Feb 2022 05:23:55 +0100