Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit6c3823c

Browse files
8orrin9gitbook-bot
authored andcommitted
GITBOOK-39: Import & File
1 parentaae9679 commit6c3823c

File tree

8 files changed

+41
-80
lines changed

8 files changed

+41
-80
lines changed
66 KB
Loading
39.7 KB
Loading
82.7 KB
Loading
50.7 KB
Loading
40.3 KB
Loading
51 KB
Loading

‎docs/data-analysis/1.-import.md‎

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,21 @@
11
---
2-
description:ImportPackages and Modules
2+
description:Importpackages for data analysis
33
---
44

55
#1. Import
66

7+
<figure><imgsrc="../.gitbook/assets/image (190).png"alt=""width="265"><figcaption></figcaption></figure>
78

9+
1. In the_**Data Analysis**_ category, click_**Import**._ We_'_ve already prepared the packages you need for data analysis. For the packages you need for machine learning, click the**Machine Learning** tab.
810

9-
<figure><imgsrc="../.gitbook/assets/image (31).png"alt=""width="229"><figcaption></figcaption></figure>
1011

11-
1. Click on_**Import**_ in the Data Analysis category.
1212

13+
<figure><imgsrc="../.gitbook/assets/image (191).png"alt=""width="395"><figcaption></figcaption></figure>
1314

14-
15-
<figure><imgsrc="../.gitbook/assets/image (30).png"alt=""width="563"><figcaption></figcaption></figure>
16-
17-
2. Choose_**Data Analysis**_ or_**Machine Learning**_ according to the purpose of the feature you want to import.
18-
3. Select the packages or modules you want to import.
19-
4. If the desired feature is not in the list, you can add it directly using_**+Module**_ or_**+Function**_. (The added feature is automatically saved for easy future imports.)
20-
21-
&#x20; 4-1. Use_**+Module**_ to add packages or modules.
22-
23-
&#x20; 4-2. Use_**+Function**_ to add functions.
24-
25-
5. You can review the code that will be generated through_**Code View**_.
26-
6. Press_**Run**_ to execute the code.
15+
2. Select the packages you want to import.
16+
3. If the package you want isn't listed, you can add it via the**+**_**Module**_ or_**+Function**_ buttons.
17+
1. To load a package or module, use_**+Module**._
18+
2. Use_**+Function**_ to call a specific function.
19+
4._**Code View**_: Preview the code that will be output.
20+
5._**Run**_: Print and run the code.
2721

‎docs/data-analysis/2.-file.md‎

Lines changed: 31 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -4,83 +4,50 @@ description: Read or Write a File
44

55
#2. File
66

7+
<figure><imgsrc="../.gitbook/assets/image (192).png"alt=""width="307"><figcaption></figcaption></figure>
78

9+
1. In the_**Data Analysis**_ category, click_**File**._
810

9-
<figure><imgsrc="../.gitbook/assets/image (32).png"alt=""width="310"><figcaption></figcaption></figure>
10-
11-
1. Click on the_**File**_ in the Data Analysis category.
12-
13-
14-
15-
<figure><imgsrc="../.gitbook/assets/image (34).png"alt=""width="563"><figcaption></figcaption></figure>
16-
17-
2. Choose whether to read or save a file from the top bar
18-
19-
&#x20; 2-1. You can use sample data prepared by Visual Python through_**Sample Data**_.
20-
11+
<figure><imgsrc="../.gitbook/assets/image (193).png"alt=""width="425"><figcaption></figcaption></figure>
2112

13+
2. Select the type of action_**Read File**_ /_**Write File**_
14+
1._**Sample Data**_ brings up sample data provided by Visual Python.
2215

2316
###Read File
2417

18+
<figure><imgsrc="../.gitbook/assets/image (194).png"alt=""width="437"><figcaption></figcaption></figure>
2519

20+
1._**File Type**_: Select the type of file you want to import.
21+
2._**File Path**_: The file-shaped icon lets you find the location of the file to load.
22+
3._**Allocate to**_: Give the file a variable name.
2623

27-
<figure><imgsrc="../.gitbook/assets/image (35).png"alt=""width="563"><figcaption></figcaption></figure>
28-
29-
1. Select the type of file to load.
30-
2. Choose the file path.
31-
3. Enter the variable name (Callable name, Identifier) for the file.
32-
33-
34-
35-
<figure><imgsrc="../.gitbook/assets/image (36).png"alt=""width="563"><figcaption></figcaption></figure>
36-
37-
4._**Additional Options**_ allow various settings.
38-
39-
&#x20; 4-1. If not set separately, the default values set by Visual Python will be applied.
40-
41-
&#x20; 4-2. Any settings not found here can be entered in the_**User Option**_ for configuration.
42-
43-
5._**Encoding**_: Specify the encoding of the file.
44-
6._**Header**_: Select_**None**_ if you do not want to use column names.
45-
46-
&#x20; 6-1. By default, the values entered in the first row are set as column names.
47-
48-
7._**Separator**_: Choose the delimiter that separates the data fields in the file.
49-
8._**Columns**_: You can set column names by entering a pre-made list or specific values.
50-
9._**Column List to Use**_: Specify specific columns to load from multiple columns in the file.
51-
10._**Column to Use as Index**_: Specify the column from the file's columns to use as an index.
52-
11._**Na Values**_: Represent missing values with the specified input.
53-
12._**Rows to Skip**_: Specify the number of rows to ignore at the beginning of the file.
54-
13._**Number of Rows**_: Read only the specified number of rows from the beginning.
55-
14._**Chunksize**_: Divide the file into separate parts and read them to create separate DataFrames. Helpful in handling large files.
56-
24+
*_**Additional Options**_: Allows you to set additional option values. If not set, the default values set in Visual Python are applied. Options not listed here can be applied by entering them directly_in**User Option**._
5725

26+
1._**Encoding**_: Select the type of encoding.
27+
2._**Header**_: By default, the first row is used as the column name. If you don't want this, select '_**None**'._
28+
3._**Separator**_: Choose a separator to separate the data fields in the file.
29+
4._**Columns**_: Set the column names to a pre-made list or specific values.
30+
5._**Column List to Use**_: Allows you to import only specific columns within the file.
31+
6._**Column to Use as Index**_: Specify which column in the data should be used as the index.
32+
7._**Na Values**_: Replace missing values with the values you entered.
33+
8._**Rows to Skip**_: Skips and fetches as many rows as the value entered at the top of the file.
34+
9._**Number of Rows**_: Fetches as many rows as the entered value from the top of the file.
35+
10._**Chunksize**_: Reads the file in_chunks,_ divided by the entered value. Use this when loading large files.
5836

5937
###Write File
6038

39+
<figure><imgsrc="../.gitbook/assets/image (195).png"alt=""width="515"><figcaption></figcaption></figure>
6140

41+
1._**File Type**_: Set the file type you want to save.
42+
2._**DataFrame**_: Select the dataframe you want to save.
43+
3._**File Path**_: Set the location where you want to save the file.
6244

63-
<figure><imgsrc="../.gitbook/assets/image (37).png"alt=""width="563"><figcaption></figcaption></figure>
64-
65-
1. Select the type to save.
66-
2. Choose the DataFrame to save.
67-
3. Select the location to save.
68-
4._**Additional Options**_ allow various settings.
69-
70-
&#x20; 4-1. If not set separately, the default values set by Visual Python will be applied.
71-
72-
&#x20; 4-2. Any settings not found here can be entered in the_**User Options**_ for configuration.
73-
74-
5._**Encoding**_: Specify the encoding of the file.
75-
6._**Header**_: Choose_**False**_ to exclude column names when saving.
76-
77-
&#x20; 6-1. By default, column names are saved as the first row.
78-
79-
7._**Index**_: Choose_**False**_ to exclude the index when saving.
80-
81-
&#x20; 7-1. By default, the index is saved as the first column.
45+
*_**Additional Options**_: Allows you to set additional option values. If not set, the default values set in Visual Python are applied. Options not listed here can be applied by entering them directly_in**User Option**._
8246

83-
8._**Separator**_: Choose the delimiter that separates the data fields in the file.
84-
9._**Na Replacing Value**_: Replace missing values with the specified input when saving.
85-
10._**Columns**_: You can save only specific columns.
47+
1._**Encoding**_: Select the type of encoding.
48+
2._**Header**_: Select '_**False**_' if you do not want the column names to be included in the file that will be saved.
49+
3._**Index**_: Select_'_**False**_'_ if you don't want an index to be included.
50+
4._**Separator**_: Choose a separator to separate the data fields in the file.
51+
5._**Na Replacing Value**_: Replaces the missing value with the value you entered.
52+
6._**Columns**_: Select specific columns to save.
8653

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp