Search
 
SCRIPT & CODE EXAMPLE
 

PYTHON

python create dummy dataframe

# mappings from source database to target database
Mappings = pd.DataFrame({
                    'Source_Database': ['AdventureWorks2014','AdventureWorks2014', 'AdventureWorks2014', 'AdventureWorks2014'],
                    'Source_Schema': ['Production','Production', 'Production', 'Production'],
                    'Source_Table': ['Product','Product', 'Product', 'Product'],
                    'Source_Column': ['ProductID','Name', 'ProductNumber', 'MakeFlag'],
                    'Target_Database': ['AdventureWorks2014','AdventureWorks2014', 'AdventureWorks2014', 'AdventureWorks2014'],
                    'Target_Schema': [None,None, None, None],
                    'Target_Table': ['Product','Product', 'Product', 'Product'],
                    'Target_Column': ['ProductID','Product_Name', 'Product_Number', 'Make_Flag']
                   })
Comment

PREVIOUS NEXT
Code Example
Python :: how to get scrapy output file in json 
Python :: how to check for empty dataframe 
Python :: post request socket python 
Python :: concatenate list of strings python 
Python :: select python 
Python :: how to calculate the variance of all columns in python 
Python :: readlines replace  
Python :: delete rows in a table that are present in another table pandas 
Python :: python create temp file 
Python :: sklearn ridge regression 
Python :: os chdir python 
Python :: python verificar se é numero 
Python :: diamond shape in python 
Python :: python 2.7 datetime to timestamp 
Python :: docker mount volume 
Python :: while activating env show error of unautorize access in vscode 
Python :: python image crop 
Python :: dictionary get all keys 
Python :: How to calculate distance without numpy 
Python :: render() in django 
Python :: python re search print 
Python :: append to pythonpath 
Python :: square a number in python 
Python :: virtual environments for python 
Python :: decrypt vnc password 
Python :: how to combine strings python 
Python :: pandas remove repeated index 
Python :: django template add numbers 
Python :: np reshape 
Python :: 2d arrays using python numpy 
ADD CONTENT
Topic
Content
Source link
Name
9+2 =