Skip to content

Sync Fork from Upstream Repo #87

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 20 commits into from
Mar 12, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
f4f1b69
CI: Update web and docs to OVH with the right structure (#32530)
datapythonista Mar 11, 2020
c1fd95b
DOC: fix formatting / links of API refs in 1.0.2 whatsnew (#32620)
jorisvandenbossche Mar 11, 2020
983fae6
BUG: non-iterable value in meta raise error in json_normalize (#31524)
charlesdong1991 Mar 11, 2020
8ac101d
TST: revert parts of #32571 (#32630)
jbrockmendel Mar 11, 2020
ecb5b57
Ensure valid Block mutation in SeriesBinGrouper. (#32561)
TomAugspurger Mar 11, 2020
a3642ec
TYP: Remove _ensure_type (#32633)
simonjayhawkins Mar 11, 2020
1f2385e
DOC: Reorganize Getting Started documentation pages (#32389)
mroeschke Mar 11, 2020
5e27d0a
Clarify pivot_table fill_value description (#32618)
taljaards Mar 11, 2020
1b76440
BUG: Add extra check for failing UTF-8 conversion (#32548)
roberthdevries Mar 12, 2020
9bc3ee0
REG: dt64 shift with integer fill_value (#32591)
jbrockmendel Mar 12, 2020
9e7cb7c
BUG: Fix DateFrameGroupBy.mean error for Int64 dtype (#32223)
dsaxton Mar 12, 2020
ef7e720
BUG: GroupBy aggregation of DataFrame with MultiIndex columns breaks …
MarcoGorelli Mar 12, 2020
c85f5f2
CLN: trim unnecessary checks (#32643)
jbrockmendel Mar 12, 2020
27ad779
TST: tighten check_categorical=False tests (#32636)
jbrockmendel Mar 12, 2020
fa48f5f
REF: implement _get_engine_target (#32611)
jbrockmendel Mar 12, 2020
da67e1e
CLN: avoid values_from_object in reshape.merge (#32537)
jbrockmendel Mar 12, 2020
7f6a22c
CLN: Suppres compile warnings of pandas/io/sas/sas.pyx (#32517)
ShaharNaveh Mar 12, 2020
bb4395e
ENH: Move corrwith from transformation to reduction kernels in groupb…
fujiaxiang Mar 12, 2020
f3859cb
DOC: Fix capitalization of the word pandas in the docs (#32439)
joybh98 Mar 12, 2020
940bbb5
TST/VIZ: add test for legend colors for DataFrame with duplicate colu…
gabrielvf1 Mar 12, 2020
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
70 changes: 17 additions & 53 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -125,68 +125,32 @@ jobs:
- name: Check ipython directive errors
run: "! grep -B1 \"^<<<-------------------------------------------------------------------------$\" sphinx.log"

- name: Merge website and docs
run: |
mkdir -p pandas_web/docs
cp -r web/build/* pandas_web/
cp -r doc/build/html/* pandas_web/docs/
if: github.event_name == 'push'

- name: Install Rclone
run: sudo apt install rclone -y
if: github.event_name == 'push'

- name: Set up Rclone
run: |
RCLONE_CONFIG_PATH=$HOME/.config/rclone/rclone.conf
mkdir -p `dirname $RCLONE_CONFIG_PATH`
echo "[ovh_cloud_pandas_web]" > $RCLONE_CONFIG_PATH
echo "type = swift" >> $RCLONE_CONFIG_PATH
echo "env_auth = false" >> $RCLONE_CONFIG_PATH
echo "auth_version = 3" >> $RCLONE_CONFIG_PATH
echo "auth = https://auth.cloud.ovh.net/v3/" >> $RCLONE_CONFIG_PATH
echo "endpoint_type = public" >> $RCLONE_CONFIG_PATH
echo "tenant_domain = default" >> $RCLONE_CONFIG_PATH
echo "tenant = 2977553886518025" >> $RCLONE_CONFIG_PATH
echo "domain = default" >> $RCLONE_CONFIG_PATH
echo "user = w4KGs3pmDxpd" >> $RCLONE_CONFIG_PATH
echo "key = ${{ secrets.ovh_object_store_key }}" >> $RCLONE_CONFIG_PATH
echo "region = BHS" >> $RCLONE_CONFIG_PATH
CONF=$HOME/.config/rclone/rclone.conf
mkdir -p `dirname $CONF`
echo "[ovh_host]" > $CONF
echo "type = swift" >> $CONF
echo "env_auth = false" >> $CONF
echo "auth_version = 3" >> $CONF
echo "auth = https://auth.cloud.ovh.net/v3/" >> $CONF
echo "endpoint_type = public" >> $CONF
echo "tenant_domain = default" >> $CONF
echo "tenant = 2977553886518025" >> $CONF
echo "domain = default" >> $CONF
echo "user = w4KGs3pmDxpd" >> $CONF
echo "key = ${{ secrets.ovh_object_store_key }}" >> $CONF
echo "region = BHS" >> $CONF
if: github.event_name == 'push'

- name: Sync web with OVH
run: rclone sync pandas_web ovh_cloud_pandas_web:dev
if: github.event_name == 'push'

- name: Create git repo to upload the built docs to GitHub pages
run: |
cd pandas_web
git init
touch .nojekyll
echo "dev.pandas.io" > CNAME
printf "User-agent: *\nDisallow: /" > robots.txt
git add --all .
git config user.email "[email protected]"
git config user.name "pandas-bot"
git commit -m "pandas web and documentation in master"
run: rclone sync --exclude pandas-docs/** web/build ovh_host:prod
if: github.event_name == 'push'

# For this task to work, next steps are required:
# 1. Generate a pair of private/public keys (i.e. `ssh-keygen -t rsa -b 4096 -C "[email protected]"`)
# 2. Go to https://github.com/pandas-dev/pandas/settings/secrets
# 3. Click on "Add a new secret"
# 4. Name: "github_pagas_ssh_key", Value: <Content of the private ssh key>
# 5. The public key needs to be upladed to https://github.com/pandas-dev/pandas-dev.github.io/settings/keys
- name: Install GitHub pages ssh deployment key
uses: shimataro/ssh-key-action@v2
with:
key: ${{ secrets.github_pages_ssh_key }}
known_hosts: 'github.com,192.30.252.128 ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ=='
if: github.event_name == 'push'

- name: Publish web and docs to GitHub pages
run: |
cd pandas_web
git remote add origin [email protected]:pandas-dev/pandas-dev.github.io.git
git push -f origin master || true
- name: Sync dev docs with OVH
run: rclone sync doc/build/html ovh_host:prod/pandas-docs/dev
if: github.event_name == 'push'
6 changes: 3 additions & 3 deletions doc/redirects.csv
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,10 @@ release,whatsnew/index

# getting started
install,getting_started/install
10min,getting_started/10min
basics,getting_started/basics
comparison_with_r,getting_started/comparison/comparison_with_r
comparison_with_sql,getting_started/comparison/comparison_with_sql
comparison_with_sas,getting_started/comparison/comparison_with_sas
comparison_with_stata,getting_started/comparison/comparison_with_stata
dsintro,getting_started/dsintro
overview,getting_started/overview
tutorials,getting_started/tutorials

Expand All @@ -38,6 +35,9 @@ text,user_guide/text
timedeltas,user_guide/timedeltas
timeseries,user_guide/timeseries
visualization,user_guide/visualization
10min,user_guide/10min
basics,user_guide/basics
dsintro,user_guide/dsintro

# development
contributing,development/contributing
Expand Down
8 changes: 4 additions & 4 deletions doc/source/development/code_style.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ Patterns
foo.__class__
-------------

*pandas* uses 'type(foo)' instead 'foo.__class__' as it makes the code more
readable.

pandas uses 'type(foo)' instead 'foo.__class__' as it is making the code more
readable.
For example:

**Good:**
Expand All @@ -50,7 +50,7 @@ Concatenated strings
f-strings
~~~~~~~~~

*pandas* uses f-strings formatting instead of '%' and '.format()' string formatters.
pandas uses f-strings formatting instead of '%' and '.format()' string formatters.

The convention of using f-strings on a string that is concatenated over several lines,
is to prefix only the lines containing values which need to be interpreted.
Expand Down Expand Up @@ -114,7 +114,7 @@ For example:
Representation function (aka 'repr()')
--------------------------------------

*pandas* uses 'repr()' instead of '%r' and '!r'.
pandas uses 'repr()' instead of '%r' and '!r'.

The use of 'repr()' will only happen when the value is not an obvious string.

Expand Down
Loading