Functions

Summary

function

class parent

truncated documentation

_build_diagram

Inspired from blockdiag source file (_bootstrap.py).

_create_fontmap

Inspired from blockdiag source file (_bootstrap.py).

_detectfont

_is_syntax_is_missing

Downloads the grammar for a specific language if the files is missing.

_private_test_style_src

_private_test_style_test

_setup_hook

if this function is added to the module, the help automation and unit tests call it first before anything goes on …

add_missing_indices

After aggregation, it usually happens that the series is sparse. This function adds rows for missing time.

build_grammar

Compiles the grammar for a specific file.

check

Checks the library is working. It raises an exception.

cmap_builder

Returns a colormap object compatible with matplotlib If only parameter name is provided, it should be a known matplotlib …

create_database

create a database

dBase2df

converts a dBase file into a list of dataframe (one per table)

dBase2sqllite

Put all rows from a dBase database into sqlite Add a dbase table to an open sqlite database.

decompress_bz2

Decompresses a :epkg:`bz2` file.

decompress_gz

Decompresses a :epkg:`tar.gz` file.

decompress_targz

Decompresses a :epkg:`tar.gz` file.

decompress_zip

Unzips a :epkg:`zip` file.

df_crossjoin

Make a cross join (cartesian product) between two dataframes by using a constant temporary key. Also sets a MultiIndex …

dot_exe

retrieve graphivz executable

download_data

Retrieves a module given its name, a text file or a :epkg:`zip` file, looks for it on http://www.xavierdupre.fr/...

draw_diagram

Draws a graph based on module blockdiag.

drop_database

remove a database

enumerate_grep

Extracts lines matching a regular expression.

extractall_silent

Extracts all members from the archive to the current working directory and set owner, modification time and permissions …

file_encoding

Returns the encoding of a file. The function relies on chardet. …

file_head

Extracts the first nbline of a file (assuming it is text file).

file_head_cli

Takes the first lines from a file using function file_head().

file_tail

Extracts the first nbline of a file (assuming it is text file).

file_tail_cli

Takes the last lines from a file using function file_tail().

folium_embed_map

folium_html_map

Embeds the HTML source of the map directly into the IPython notebook.

format_file_mtime

Returns a :epkg:`datetime` for a file.

format_file_size

Formats the file size as string.

get_default_value_type

get_list_database

get_list_instance

get_list_server

get_parser_lexer

Returns two classes, a parser and a lexer from antlr4.

get_tree_graph

Returns a graph with networkx.

get_tree_string

Returns a string which shows the parsed tree.

guess_type_value

Guesses the type of a value.

guess_type_value_type

import_flatfile_into_database

Function which imports a file into a database. It the table exists, it removes it first. There is no addition.

import_flatfile_into_database_pandas

Function which imports a file into a database using pandas. It the table exists, it removes it first. There is no addition. …

lambert932WGPS

Converts Lambert coordinates into longitude, latitude. Does not use :epkg:`pyproj`.

load_french_departements

Returns the definition of French departments.

load_ipython_extension

to allow the call %load_ext pyensae

mpl_switch_style

Changes the graph style.

parse_code

Parses a code and returns a tree.

plot_map_france

Creates a map for France using cartopy.

plot_map_france_polygon

Plots polygons into a map for France.

r2python

Converts a R script into Python.

register_file_magics

register magics function, can be called from a notebook

register_graph_magics

register magics function, can be called from a notebook

register_notebook_magics

register magics function, can be called from a notebook

register_sql_magics

register magics function, can be called from a notebook

remove_empty_line

Removes empty line in an imported file.

replace_comma_by_point

Replaces all commas by point in a file (do that inplace).

run_dot

calls graphivz on a dot file and produces an image

serializedATN

serializedATN

serializedATN

serializedATN

serializedATN

serializedATN

serializedATN

serializedATN

serializedATN

serializedATN

serializedATN

serializedATN

serializedATN

serializedATN