<jupyter_start><jupyter_text><jupyter_code>import numpy as np
import pandas as pd
sales_numbers_series = pd.Series([3500,4600,13750,860,2550,11450])
sales_numbers_series.describe()
sales_Array  = np.array([3500,4600,13750,860,2550,11450])
sales_Series = pd.Series([3500,4600,13750,860,2550,11450])
print(type(sales_Array),type(sales_Series))
sales_Series
sales_list = [3500,4600,13750,860,2550,11450]
print(type(sales_list))
sales_Series2 = pd.Series(sales_list)
print(type(sales_Series2))
sales_Array2 = np.array(sales_list)
print(type(sales_Array2))<jupyter_output><class 'numpy.ndarray'><jupyter_text>Describe function is not available to arrays<jupyter_code>sales_Array.describe()
sales_Series.describe()<jupyter_output><empty_output><jupyter_text>Series Index, there is no index in array<jupyter_code>print(sales_Array)
print(sales_Series)
sales_Array  = np.array([3500,4600,13750,860,2550,11450])
Product_Names_Array = np.array(['Baby Food','Cereal','Snacks', 'Beverages','Clothes','Personal Care'])

print(sales_Array, Product_Names_Array )
sales_Series = pd.Series([3500,4600,13750,860,2550,11450], index = ['Baby Food','Cereal','Snacks', 'Beverages','Clothes','Personal Care'] )
sales_Series
sales_Series[0]
sales_Series.loc['Baby Food']
url = 'https://raw.githubusercontent.com/Rizwan-Ahmed-Surhio/Accountants/main/5000%20Sales%20Records.csv'
df = pd.read_csv(url)
df
type(df['Item Type'])<jupyter_output><empty_output>
{'fraction_non_alphanumeric': 0.1497550734779566, 'fraction_numerical': 0.11406578026592022, 'mean_word_length': 11.882882882882884, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 1, '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': '3', 'dir': 'jupyter-structured-clean-dedup', 'id': '267070', 'license': 'MIT', 'n_tokens_mistral': 666, 'n_tokens_neox': 538, 'n_words': 69, 'path': 'Pandas_Series.ipynb', 'repo_name': 'Rizwan-Ahmed-Surhio/Accountants', 'size': '1429'}