python data analysis

python data analysis (2) This part is also a practical case. I have read Python foundation and python data analysis for many times, but I still feel a bit empty if I don't really knock code. Recently, I am constantly looking for cases and constantly knock code myself. Case link: https://segmentfault.c ...

Posted on Mon, 29 Jun 2020 05:24:16 -0400 by alant

NumPy advanced tutorial - super detailed

Article catalog Numpy basic tutorial link 1, Inside the target of darray 1.1 Numpy dtype hierarchy 2, High order array operation 2.1 reshaping array 2.2 C order and Fortran order 2.3 join and separate arrays 2.31 stacking assistant: r_ And c_ 2.4 repeating elements: tile and repeat 2.5 the equivalen ...

Posted on Tue, 16 Jun 2020 02:33:01 -0400 by badboy1245

Training cat and dog datasets (and training after image enhancement)

catalog 1, Required environment (installation with link) Two. Data set preparation 3, Network model 4, Data preprocessing 5, Training 6, Fill with data 1, Required environment (installation with link) tensorflow and keras, the specific version installation depends on personal needs. The installa ...

Posted on Fri, 12 Jun 2020 04:11:31 -0400 by TexasMd91

Python1-Basic Syntax 1

++++++++++++++ I'll keep up with you, wyb++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1. Interpreter 1. The Role of Interpreters Run Files: Programmer and Computer Translator 2. Python interpreter types (1) Interpreter developed in Cpython.C and widely used (2) IPython: An Interactive Interpreter Based on CPython 2. Var ...

Posted on Tue, 05 May 2020 19:21:01 -0400 by dml

IPhone installation and problem solving

IPython is a third-party library of python. It's easy to install using PIP tools, but sometimes there are some problems. For example, the 2.7.x version can't install the latest version of IPython, which will prompt for errors. Next, I will introduce the installation process and methods of the iPhone. Directly using pip to install python2.7.x w ...

Posted on Fri, 01 May 2020 00:42:38 -0400 by Marc

, python version installation (multiple versions coexist)

1. Download the python3.6 installation package on the official website: wget  https://www.python.org/ftp/python/3.6.5/Python-3.6.5.tgz 2. Install zlib devel (this dependency package will also be used for pip installation later) yum install -y zlib-devel yum install -y gcc 3. Unzip the package: tar zxvf Pytho ...

Posted on Mon, 27 Apr 2020 07:34:37 -0400 by collamack

[experience sharing] 30 Python programming practices, suggestions and skills

What new Flag did you set up in 2020? Anyway, as long as we are learning programming and using python, we are all a family! Let's prepare 30 excellent Python practice skills for you. I hope that these tips can help you in practical work and learn some useful knowledge. 1. Using python 3 Most of the examples in this tutorial can only be run in t ...

Posted on Mon, 27 Apr 2020 04:25:19 -0400 by rp2006

[tensorflow2.0] processing structured data titanic survival prediction

1. Prepare data import numpy as np import pandas as pd import matplotlib.pyplot as plt import tensorflow as tf from tensorflow.keras import models,layers dftrain_raw = pd.read_csv('./data/titanic/train.csv') dftest_raw = pd.read_csv('./data/titanic/test.csv') dftrain_raw.head(10) Partial data: Description of related fields: Sur ...

Posted on Sat, 18 Apr 2020 02:24:38 -0400 by dotancohen

Python object oriented -- Basic inheritance

1. Basic inheritance diagram 1.1 instantiate the object c of a Contact class 1.2 instantiate an object s of Supplier class 1.3 properties of access object 1.4 method of accessing object s 1.5 variable details If you define c.all_contacts = "xxxxx"; from the new definition, Object C has a new property all_contacts with a value of ...

Posted on Sun, 05 Apr 2020 11:38:26 -0400 by IcedEarth

Pandas options and customization

Pandas provides API s to define some aspects of its behavior, mostly for display. The API consists of five related functions. They are- get_option() set_option() reset_option() describe_option() option_context() get_option(param) Get option (param) requires a parameter and returns the value given in the output display.max_rows Displays the de ...

Posted on Sun, 29 Mar 2020 04:55:11 -0400 by heltr