0% found this document useful (0 votes)
8 views4 pages

ML Week

The document provides a step-by-step guide for installing Anaconda and launching Jupyter Notebook. It also lists various NumPy and Pandas functions, detailing their uses for array manipulation and data handling in Python. Key functions include creating arrays, calculating statistics, and managing data frames.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
8 views4 pages

ML Week

The document provides a step-by-step guide for installing Anaconda and launching Jupyter Notebook. It also lists various NumPy and Pandas functions, detailing their uses for array manipulation and data handling in Python. Key functions include creating arrays, calculating statistics, and managing data frames.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 4

ML WEEK-1 –03/08/2023-

A21126552021

INSTALLING ANACONDA:
1. Visit the Anaconda website and download the appropriate installer (WINDOWS)
2. During installation, you'll be asked to choose whether to install Anaconda for just your user account or
for all users on the system. Choose the option that suits your needs.
3. You'll also need to choose a location to install Anaconda.
4. Once you've made your selections, the installer will proceed to install Anaconda on your system. This
may take a few minutes.
5. After installation, you can open the Anaconda Navigator application.
6. In the Anaconda Navigator, you'll see the option to launch Jupyter Notebook. Click on it to start the
Jupyter Notebook interface in your default web browser.
7. In the Jupyter Notebook interface, you can navigate to an existing directory or create a new one. You can
create new Jupyter notebooks or open existing ones with the `.ipynb` extension.
10. Once you have a notebook open, you can start coding in Python or other supported languages.
NUMPY FUNCTIONS:
1)np.array()
used to create array
2)np.dot()
used to find dot product of two arrays
3)np.min()
used to find minimum value of array
4)np.median()
used to find median value of array
5)np.mean()
used to find mean of array
6)np.max()
used to find max in array
7)np.random.rand()
used to create values between 0 and 1
8)np.arange()
used to create values with specified range
9)np.zeroes()
used to create values with zeroes
10)np.ones()
used to create values with ones
11)np.linspace()
used to create an array with a specified number of evenly spaced values
12)np.shape()
used to shape or dimension of array
13)np.sort()
used to sort of array
14)np.histogram()
used to histogram representing the frequency of data distribution in graphical form
15)np.isnan()
used to boolean array indicating the presence/absence of NaN values
16)np.std()
used to find standard deviation
17)np.argmax()
used to index of the maximum element of the array specified in a particular axis
18)np.sum()
used to find sum of elements in python
19)np.unique()
used to find unique elements in array
20)np.reshape()
used to reshape of an array

PANDAS FUNCTIONS:
1)pd.read_csv()
used to read a csv file into dataframe
2)pd.sample()
used to randomly select a subset of dataframe
3)pd.isnull()
used to find identify missing values in data frame
4)df.fillna()
used to fill missing values in dataframe
5)df.drop()
used to drop rows or columns from data frame
6)df.plot()
used to create a plot of dataframe
7)df.iloc()
used to select rows or columns by integer based index in a dataframe
8)df.loc()
used to select rows or columns by their label in a dataframe
9)df.sort_values()
used to sort dataframe by one or more column
10)df.dropna()
used to drop rows or columns with misssing values
11)df.transpose()
used to transpose the data frame
12)df.merge()
used to merge the two dataframes together
13)df.rename()
used to rename in column
14)df.pivot_table()
used to create a pivot table from dataframe
15)df.assign()
used to assignnew values to existing column in dataframe
16)df.query()
used to fliter the dataframe based on boolean expression
17)df.groupby():
used to group the data frame by one or more columns and perform aggregration
18)df.describe()
used to get summary of dataframe including rows,columns and data
19)df.value_counts()
used to count occurences of each value in column
20)df.correlation()
used to correlation between to columns in dataframe
21)pd.to_csv()
used to save dataf

You might also like