Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion doc/source/user_guide/io.rst
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ skiprows : list-like or integer, default ``None``
indices, returning True if the row should be skipped and False otherwise:

.. ipython:: python
:okwarning:

import pandas as pd
from io import StringIO

data = "col1,col2,col3\na,b,1\na,b,2\nc,d,3"
pd.read_csv(StringIO(data))
Expand Down Expand Up @@ -2761,7 +2765,8 @@ Read an XML string:
.. ipython:: python

from io import StringIO
xml = """<?xml version="1.0" encoding="UTF-8"?>

xml = """<?xml version="1.0" encoding="UTF-8"?>
<bookstore>
<book category="cooking">
<title lang="en">Everyday Italian</title>
Expand Down Expand Up @@ -6520,3 +6525,7 @@ The files ``test.pkl.compress``, ``test.parquet`` and ``test.feather`` took the
24009288 Oct 10 06:43 test_fixed_compress.hdf
24458940 Oct 10 06:44 test_table.hdf
24458940 Oct 10 06:44 test_table_compress.hdf



.. demo change for CI check
16 changes: 16 additions & 0 deletions npm/gemini
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!/bin/sh
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")

case `uname` in
*CYGWIN*|*MINGW*|*MSYS*)
if command -v cygpath > /dev/null 2>&1; then
basedir=`cygpath -w "$basedir"`
fi
;;
esac

if [ -x "$basedir/node" ]; then
exec "$basedir/node" "$basedir/node_modules/@google/gemini-cli/dist/index.js" "$@"
else
exec node "$basedir/node_modules/@google/gemini-cli/dist/index.js" "$@"
fi
17 changes: 17 additions & 0 deletions npm/gemini.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@ECHO off
GOTO start
:find_dp0
SET dp0=%~dp0
EXIT /b
:start
SETLOCAL
CALL :find_dp0

IF EXIST "%dp0%\node.exe" (
SET "_prog=%dp0%\node.exe"
) ELSE (
SET "_prog=node"
SET PATHEXT=%PATHEXT:;.JS;=;%
)

endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\node_modules\@google\gemini-cli\dist\index.js" %*
28 changes: 28 additions & 0 deletions npm/gemini.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
#!/usr/bin/env pwsh
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent

$exe=""
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
# Fix case when both the Windows and Linux builds of Node
# are installed in the same directory
$exe=".exe"
}
$ret=0
if (Test-Path "$basedir/node$exe") {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "$basedir/node$exe" "$basedir/node_modules/@google/gemini-cli/dist/index.js" $args
} else {
& "$basedir/node$exe" "$basedir/node_modules/@google/gemini-cli/dist/index.js" $args
}
$ret=$LASTEXITCODE
} else {
# Support pipeline input
if ($MyInvocation.ExpectingInput) {
$input | & "node$exe" "$basedir/node_modules/@google/gemini-cli/dist/index.js" $args
} else {
& "node$exe" "$basedir/node_modules/@google/gemini-cli/dist/index.js" $args
}
$ret=$LASTEXITCODE
}
exit $ret
16 changes: 16 additions & 0 deletions npm/node_modules/.bin/gemini

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 17 additions & 0 deletions npm/node_modules/.bin/gemini.cmd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

28 changes: 28 additions & 0 deletions npm/node_modules/.bin/gemini.ps1

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading