Exploring Pandas Data Structures π§©

π Hello! I'm passionate about DevOps and have over 1+ years of experience in the field. I'm proficient in a variety of cutting-edge technologies and always motivated to expand my knowledge and skills. Let's connect and grow together!
SKILLS:
πΉ Languages & Runtimes: Python, Shell Scripting, HCL, YAML πΉ Cloud Technologies: AWS, Microsoft Azure, GCP πΉ Infrastructure Tools: Docker, Terraform, AWS CloudFormation πΉ Other Tools: Linux, Git and GitHub Actions, Jenkins, Jira, GitLab (beginner), Docker, AWS DevOps πΉ Web Development: HTML, CSS, Bootstrap, Python, SQL
Job & Responsibilities:
π Improved development efficiency by implementing CI/CD pipelines, resulting in a 30% reduction in deployment time on the test server. π Strengthened deployment and testing reliability by utilizing Docker containers and optimizing Dockerfile, reducing development issues on the test server by 20%. βοΈ Automated S3 bucket log creation with Shell scripting, eliminating 100% of manual search and saving 2 hours per week. π Scheduled EC2 instance start/stop using Lambda functions and Event Bridge, leading to a 25% decrease in infrastructure costs. π§ Utilized AWS, Linux, Python, Docker, Shell scripting, Terraform, Jenkins Pipelines, and automation to streamline workflows and improve overall system performance.
I'm very detail-oriented and possess strong written and verbal communication skills. As a high performer with a possibility mindset, I strive to solve problems using efficient approaches.
Let's Connect & Grow:
If you find my profile suitable for the role you are searching for, please feel free to reach out to me at sumanprasad9766@gmail.com.
Introduction
Pandas offers three primary data structures: Series, DataFrame, and Index Objects. Each plays a crucial role in handling and manipulating data efficiently.
Series π
A Series is a one-dimensional labeled array capable of holding any data type. It consists of two arrays: one holding the data and the other containing labels (index).
Use Case: Creating a Series
# Example
import pandas as pd
# Create a Series from a list
data = [10, 20, 30, 40, 50]
series = pd.Series(data, name='MySeries')
# Display the Series
print(series)
DataFrame π
A DataFrame is a two-dimensional tabular data structure, similar to a spreadsheet or SQL table. It consists of rows and columns, where each column can be of a different data type.
Use Case: Creating a DataFrame
# Example
import pandas as pd
# Create a DataFrame from a dictionary
data = {'Name': ['Alice', 'Bob', 'Charlie'],
'Age': [25, 30, 35],
'City': ['New York', 'San Francisco', 'Los Angeles']}
df = pd.DataFrame(data)
# Display the DataFrame
print(df)
Index Objects π
An Index Object is responsible for labeling axes in Pandas objects. It enables efficient data selection and manipulation.
Use Case: Customizing Index
# Example
import pandas as pd
# Create a DataFrame with a custom index
data = {'Value': [10, 20, 30, 40, 50]}
custom_index = ['a', 'b', 'c', 'd', 'e']
df = pd.DataFrame(data, index=custom_index)
# Display the DataFrame with custom index
print(df)
Pandas' data structures provide a flexible and intuitive way to work with data, whether you're handling time-series data, performing statistical analysis, or simply exploring datasets. Understanding these structures is fundamental to unleashing the full power of Pandas in your data science and analysis projects. π




