<jupyter_start><jupyter_text>---title: "Scalar/Linear Transformation"author: "Rakshmitha"date: 2020-08-13description: "-"type: technical_notedraft: false---<jupyter_code>import pandas as pd
x_list = [1, 2, 3, 4, 5]
x_array = pd.Series([1,2,3,4,5])
print( x_list * 3, "\n", x_array * 3)<jupyter_output>[1, 2, 3, 4, 5, 1, 2, 3, 4, 5, 1, 2, 3, 4, 5] 
 0     3
1     6
2     9
3    12
4    15
dtype: int64
{'fraction_non_alphanumeric': 0.18204488778054864, 'fraction_numerical': 0.12219451371571072, 'mean_word_length': 3.6206896551724137, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'chain_length': '1', 'dir': 'jupyter-structured-clean-dedup', 'id': '411950', 'license': 'MIT', 'n_tokens_mistral': 218, 'n_tokens_neox': 183, 'n_words': 51, 'path': 'docs/python/pandas/Series/Scalar-or-Linear-Transformation.ipynb', 'repo_name': 'rakshmitha/mlnotes', 'size': '401'}