Label:The first step, open PD15, find "Database",:In the second step, click the New button to create a new ODBC connection.The third step is to select the system data source and select the OracleFourth, note that the server needs to write the service name of the Oracle client configuration, which is the name used for PL/SQL connections. is not an IP address.5th step, test if the connection is successful.At this point, the database has been linked, can be disconnected, can also be connected, but
It has been two months since the official release of DataUML Design. Due to the recent busy schedule, Version 1.1 has been released only now. In the future, I will continue to improve the DataUML Design software, and hope that the majority of programmers will support it a lot.
I. content added and improved in version 1.1 is as follows:
Ii. Document generation
1. Open the model file, for example, 6-1.
2. Select the model of the document to be generated and click the generate document
Http://www.jianshu.com/p/423ba6e48aaa
First, the installation of PD virtual machine1, parallels Desktop, referred to as PD, is known as the best on the Mac virtual machine, the specific is not to do too much description here. Attached Mac. App folder download, download and put in/applications/folder.After the installation is completed as shown
2, open PD, the
Let's create a data frame by hand.[Python]View PlainCopy
Import NumPy as NP
Import Pandas as PD
DF = PD. DataFrame (Np.arange (0,2). Reshape (3), columns=list (' abc ' )
DF is such a dropSo how do you choose the three ways to pick the data?One, when each column already has column name, with DF [' a '] can choose to take out a whole colum
array ([[3, 4], [6, 7])
After understanding the step slice, the two-dimensional and three-dimensional aspects have the same good understanding, and are not as complicated as the step.You can also copy the sliced elements.
>>> B [1:,: 2] = 1 # broadcast assignment >>> barray ([[0, 1, 2], [1, 1, 5], [1, 1, 8]) >>> B [1:,: 2]. shape (2L, 2L) >>> B [1:,: 2] = np. arange (2, 6 ). reshape () # corresponding value >>> barray ([[0, 1, 2], [2, 3, 5], [4, 5, 8])
Similarly, sequence [start1: end1, start2:
In PD, the CDM model is created. A digoal has two tables, and the fields cannot be repeated?
Tool-model options-model settings remove the unique code under data item
There is also a "allow reuse" check box. We recommend that you remove this check box. In the future, don't worry about the problem of field dynamic modification in the model. I just tried it, even if you copy a field from one table to another, the two fields are not modified!
We re
Design multiple-to-multiple tables to solve repeated problems
Currently, there are two popular design methods: one is to create a separate id Primary Key in the intermediate table, and the key associated with the business table is set to unique; the other is to join the primary key, in this way, the intermediate table does not have a primary key unrelated to the business table, that is, the keys associated with the business table are combined as the primary key.
The following are two detailed
Many users just heard that the Apple Computer can be installed on the Windows system, the first reaction is to complete the operation must be particularly difficult, many "small white" users will ask the old user of its operation methods, after the inquiry will find that they do not think so complex.
Parallels Desktop This software is now the most users of the Mac virtual machine, through which the Mac installed Windows system or other operating system users can quickly resolve. This virtual ma
Tags: orm's EF+SQLSERVER+PDPIn the GXPT Foundation project, I am responsible for the database has EF and Oom diagram drawing, originally listen to the teacher said Ormapping, know is the entity relationship innuendo, but has not been clear in our project application in the actual use where, this project development joined EF, let me have some superficial understanding of ORM , let's talk about it in fact.So how does PD relate to the creation of a data
Label:This article explains the structured data processing of spark, including: Spark SQL, DataFrame, DataSet, and Spark SQL services. This article focuses on the structured data processing of the spark 1.6.x, but because of the rapid development of spark (the writing time of this article is when Spark 1.6.2 is released, and the preview version of Spark 2.0 has been published), please feel free to follow spark Official SQL documentation to get the lat
index-feature name-Attribute-easy to understand
2. filter the row and column data of dataframe
import pandas as pd,numpy as npfrom pandas import DataFramedf = DataFrame(np.arange(20).reshape((4,5)),column = list('abcde'))
1. df [] df. Select column data
Df.Df [['A', 'B']
2. df. loc [[index], [colunm] use tags to select data
When you do not filter rows, enter "
This time to bring you pandas in the Dataframe query what methods, pandas in the Dataframe query of what matters, the following is the actual case, together to see.
Pandas provides us with a variety of slicing methods, which are often confusing if you don't know them well. The following are examples of how these slices are described.
Data introduction
A random set of data is generated first:
In [5]: Rnd_1
for multiple languages.3. Fill in the configuration informationThe first two options can be filled out according to the project function information, then the TCP/IP server and port are filled in, followed by the MySQL user name, password, and database name.When you are finished, you can click the "Test" button to test if the connection is successfully configured! If successful, you will be prompted for success!If the test is successful, then click on the "OK" button!Third, import the MySQL dat
SetPDPhysical Model importErwin
In the past, when modeling databasesPower Designer (PD)To take into accountPDIt is advantageous for small systems and rapid development and is usedPDDirectly create a physical model (PDM), And you can generate a database creation script for the model. In the current project, the customer is more accustomed to usingCAOfErwin,ErwinIn terms of functionsPDIt is a heavyweight data modeling tool. In this way, the problem ar
%.] Sys.columns Cjoin [%catalog%.] Sys.objects o on (o.object_id = c.object_id)join [%catalog%.] Sys.schemas u on (u.schema_id = o.schema_id)join [%catalog%.] Sys.types T on (t.user_type_id = c.system_type_id)Left outer join[%catalog%.] Sys.identity_columns i on (i.object_id = c.object_id andi.column_id = c.column_id)Left outer join[%catalog%.] Sys.default_constraints D on (d.object_id = c.default_object_id)whereO.type in (' U ', ' S ', ' V ')[and U.name =%.q:owner%][and O.name=%.q:table%]ORDER
when drawing an entity diagram, use PD painting, when I want to convert it into a database form encountered some problems, specifically as follows: ①CDM conversion to PDM can not be successful, the problem shows such as: Workaround:Tools- >model OperationsThe original Barker instead e/r+merise can be. The ② does not have a DBMS, as follows: Workaround:Click on the Yellow folder below to find it in your installation and target Resource File folder, an
DataFrame API1, collect and Collectaslist, collect returns an array that contains all rows in the DataframeCollectaslist Returns a Java list that contains all rows contained in the Dataframe 2. CountReturns the number of rows Dataframe 3. FirstReturns the first row 4. HeadHead method without parameters, returning the first row of
An error occurred today in the process of finding the inverse of a matrix using the NumPy Linalg.det ():Typeerror:no loop matching the specified signature and casting is found for UfuncCheck a half-day found is the problem of data types,numpy in the inverse of the time will first check the data type is consistent, if inconsistent will be an error (say this wrong message is too difficult to understand, but also look at the source O (╯-╰) o).Because my data is used pandas.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.