Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Using Modules | Functions and Modules
Introduction to Data Analysis in Python
course content

Kursinnhold

Introduction to Data Analysis in Python

Introduction to Data Analysis in Python

1. Basics
2. Data Types
3. Control Flow
4. Functions and Modules
5. Introduction to NumPy

book
Using Modules

Libraries that you will use provide creating objects of new types with new properties, methods, attributes. Each library has specific documentation with explanations on methods/attrbites/classes provided. Let's remind what methods and objects are.

A method is a function that 'belongs to' an object.

An object is simply a collection of data (variables) and methods (functions) that act on those data.

Some libraries may also export constants - values that don't change during a program's execution. For example,

12345678910
# Importing library from datetime import date # Create new 'date' object d = date(2022, 10, 10) # Applying method to object print(d.isoformat()) # Object attribute print(d.month) # Library constant print(datetime.UTC)
copy

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 4. Kapittel 3

Spør AI

expand
ChatGPT

Spør om hva du vil, eller prøv ett av de foreslåtte spørsmålene for å starte chatten vår

course content

Kursinnhold

Introduction to Data Analysis in Python

Introduction to Data Analysis in Python

1. Basics
2. Data Types
3. Control Flow
4. Functions and Modules
5. Introduction to NumPy

book
Using Modules

Libraries that you will use provide creating objects of new types with new properties, methods, attributes. Each library has specific documentation with explanations on methods/attrbites/classes provided. Let's remind what methods and objects are.

A method is a function that 'belongs to' an object.

An object is simply a collection of data (variables) and methods (functions) that act on those data.

Some libraries may also export constants - values that don't change during a program's execution. For example,

12345678910
# Importing library from datetime import date # Create new 'date' object d = date(2022, 10, 10) # Applying method to object print(d.isoformat()) # Object attribute print(d.month) # Library constant print(datetime.UTC)
copy

Alt var klart?

Hvordan kan vi forbedre det?

Takk for tilbakemeldingene dine!

Seksjon 4. Kapittel 3
Vi beklager at noe gikk galt. Hva skjedde?
some-alt