mirror of
https://github.com/nushell/nushell.git
synced 2024-11-29 11:54:02 +01:00
c0a1d18e3d
* feat: update #4455, regenerate commands' docs * chore: update make_docs script
28 lines
736 B
Markdown
28 lines
736 B
Markdown
---
|
|
title: dfr open
|
|
layout: command
|
|
version: 0.59.0
|
|
---
|
|
|
|
Opens csv, json or parquet file to create dataframe
|
|
|
|
## Signature
|
|
|
|
```> dfr open (file) --delimiter --no-header --infer-schema --skip-rows --columns```
|
|
|
|
## Parameters
|
|
|
|
- `file`: file path to load values from
|
|
- `--delimiter {string}`: file delimiter character. CSV file
|
|
- `--no-header`: Indicates if file doesn't have header. CSV file
|
|
- `--infer-schema {number}`: Number of rows to infer the schema of the file. CSV file
|
|
- `--skip-rows {number}`: Number of rows to skip from file. CSV file
|
|
- `--columns {list<string>}`: Columns to be selected from csv file. CSV and Parquet file
|
|
|
|
## Examples
|
|
|
|
Takes a file name and creates a dataframe
|
|
```shell
|
|
> dfr open test.csv
|
|
```
|