Skip to content

Pilo #3234

Open
Open
Pilo#3234
@zerogro42

Description

@zerogro42

### Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any context or screenshots about the feature request here.
import pandas as pd
import matplotlib.pyplot as plt

Load the dataset from a CSV file

df = pd.read_csv('data.csv')

Display the first few rows of the dataset

print("First few rows of the dataset:")
print(df.head())

Display basic information about the dataset

print("\nBasic information about the dataset:")
print(df.info())

Display summary statistics for the dataset

print("\nSummary statistics for the dataset:")
print(df.describe())

Plotting data (e.g., histogram of a specific column)

column_to_plot = 'column_name' # Replace with the actual column name
plt.hist(df[column_to_plot], bins=30, edgecolor='k')
plt.xlabel(column_to_plot)
plt.ylabel('Frequency')
plt.title(f'Histogram of {column_to_plot}')
plt.show()

Finding correlation between columns

correlation_matrix = df.corr()
print("\nCorrelation matrix:")
print(correlation_matrix)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions